0_0_38886467_26177.cpp: In function 'void solve()':
0_0_38886467_26177.cpp:38:29: error: expected ';' before 'for'
38 | ans = phi[b]
| ^
| ;
39 | for (int i = b + 1 ; i <= d ; i++) {
| ~~~
0_0_38886467_26177.cpp:39:38: error: 'i' was not declared in this scope
39 | for (int i = b + 1 ; i <= d ; i++) {
| ^
|