0_0_38663110_10987.cpp: In function 'void solve(int)':
0_0_38663110_10987.cpp:42:14: error: expected ';' before 'for'
42 | ans=0
| ^
| ;
43 | for(int i=1;i<=n;i++)e[i].clear();
| ~~~
0_0_38663110_10987.cpp:43:21: error: 'i' was not declared in this scope
43 | for(int i=1;i<=n;i++)e[i].clear();
| ^
|