0_0_38669343_22015.cpp:58:2: error: expected ';' after struct definition
58 | }
| ^
| ;
0_0_38669343_22015.cpp: In function 'void solve()':
0_0_38669343_22015.cpp:239:5: error: 'sgt' was not declared in this scope; did you mean 'sgt2'?
239 | sgt<int>tr(n, INF);
| ^~~
| sgt2
0_0_38669343_22015.cpp:239:9: error: expected primary-expression before 'int'
239 | sgt<int>tr(n, INF);
| ^~~
0_0_38669343_22015.cpp:240:5: error: 'tr' was not declared in this scope; did you mean 'tm'?
240 | tr.build(1, 1, n, v);
| ^~
| tm
|