0_0_31008849_4772.cpp:1:2: error: stray '#' in program
/#include<bits/stdc++.h>
^
0_0_31008849_4772.cpp:1:1: error: expected unqualified-id before '/' token
/#include<bits/stdc++.h>
^
0_0_31008849_4772.cpp:11:1: error: 'vector' does not name a type
vector<int>g[N*N];
^
0_0_31008849_4772.cpp: In function 'void dfs(int, int&, int&)':
0_0_31008849_4772.cpp:48:20: error: 'g' was not declared in this scope
for(int i=0; i<g[u].size(); i++)
^
0_0_31008849_4772.cpp: In function 'int main()':
0_0_31008849_4772.cpp:64:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_31008849_4772.cpp:67:28: error: 'memset' was not declared in this scope
memset(v,0,sizeof v);
^
0_0_31008849_4772.cpp:80:38: error: 'g' was not declared in this scope
for(int i=0; i<N*N; i++) g[i].clear();
^
0_0_31008849_4772.cpp:94:30: error: too few arguments to function 'void dfs(int, int&, int&)'
dfs(u);
^
0_0_31008849_4772.cpp:45:6: note: declared here
void dfs(int u,int &cnt,int &c)
^
0_0_31008849_4772.cpp:134:33: error: 'g' was not declared in this scope
g[id(i,j)].push_back(id(x,y));
^
0_0_31008849_4772.cpp:151:45: error: 'max' was not declared in this scope
ans = max(cnt1,cnt2-cnt1);
^
0_0_31008849_4772.cpp:156:35: error: 'max' was not declared in this scope
res = max(res,_ans+cnt);
^
0_0_31008849_4772.cpp:158:41: error: 'printf' was not declared in this scope
printf("Case #%d: %d\n",++gg,res);
^
|