0_0_39732266_10609.cpp: In function 'int main()':
0_0_39732266_10609.cpp:26:24: error: 'n' was not declared in this scope
26 | for(int i=1;i<=n;i++)mp[i].clear();
| ^
0_0_39732266_10609.cpp:27:24: error: 'n' was not declared in this scope
27 | for(int i=1;i<=n;i++) scanf("%d",&a[i]);
| ^
0_0_39732266_10609.cpp:28:24: error: 'n' was not declared in this scope
28 | for(int i=1;i<=n-1;i++){
| ^
|