0_0_29854975_2534.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_29854975_2534.cpp:7:1: error: 'vector' does not name a type
vector<pair<int,int>>d[N];
^
0_0_29854975_2534.cpp: In function 'void init()':
0_0_29854975_2534.cpp:11:24: error: 'scanf' was not declared in this scope
scanf("%d%d",&n,&m);
^
0_0_29854975_2534.cpp:14:8: error: 'd' was not declared in this scope
d[i].clear();
^
0_0_29854975_2534.cpp:15:29: error: 'make_pair' was not declared in this scope
d[i].push_back(mp(i,1));
^
0_0_29854975_2534.cpp:20:8: error: 'd' was not declared in this scope
d[r].push_back(mp(l,x));
^
0_0_29854975_2534.cpp:20:29: error: 'make_pair' was not declared in this scope
d[r].push_back(mp(l,x));
^
0_0_29854975_2534.cpp:22:26: error: 'memset' was not declared in this scope
memset(f,0,sizeof(f));
^
0_0_29854975_2534.cpp:43:26: error: 'd' was not declared in this scope
for(auto pi:d[cur])
^
0_0_29854975_2534.cpp:54:23: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
0_0_29854975_2534.cpp: In function 'int main()':
0_0_29854975_2534.cpp:58:19: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
|