malnarisc.cpp: In function 'void solve()':
malnarisc.cpp:35:13: error: 'struct std::pair<int, int>' has no member named 'size'
35 | int n = a.size();
| ^~~~
malnarisc.cpp:37:26: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
37 | cout << s << " R" << a[i].fi << " R" << a[i].se << (i == n - 1 ? '\n' : ' ');
| ^
malnarisc.cpp:37:45: error: no match for 'operator[]' (operand types are 'std::pair<int, int>' and 'int')
37 | cout << s << " R" << a[i].fi << " R" << a[i].se << (i == n - 1 ? '\n' : ' ');
| ^
malnarisc.cpp: In function 'int main()':
malnarisc.cpp:51:31: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
51 | for(int j = 0; j < (1 << l - 1); j++){
| ~~^~~
malnarisc.cpp:58:33: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
58 | for(int j = 0; j < (1 << _l - 1); j++){
| ~~~^~~
malnarisc.cpp:59:29: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
59 | int nxt = i + (1 << _l - 1) + j;
| ~~~^~~