0_0_19218385_28110.cpp:7:1: error: 'vector' does not name a type
vector<int> G[maxn];
^
0_0_19218385_28110.cpp: In function 'bool dfs(int)':
0_0_19218385_28110.cpp:12:25: error: 'G' was not declared in this scope
for (int i = 0; i < G[u].size(); i++)
^
0_0_19218385_28110.cpp: In function 'void init()':
0_0_19218385_28110.cpp:40:36: error: 'G' was not declared in this scope
for (int i = 1; i < maxn; i++) G[i].clear();
^
0_0_19218385_28110.cpp:41:25: error: 'scanf' was not declared in this scope
scanf("%d%d", &n, &s);
^
0_0_19218385_28110.cpp: In function 'void solve()':
0_0_19218385_28110.cpp:49:22: error: 'printf' was not declared in this scope
printf("No\n");
^
0_0_19218385_28110.cpp:60:21: error: 'G' was not declared in this scope
G[i].push_back(j);
^
0_0_19218385_28110.cpp:65:35: error: 'printf' was not declared in this scope
if (m == n) printf("Yes\n");
^
0_0_19218385_28110.cpp:66:27: error: 'printf' was not declared in this scope
else printf("No\n");
^
0_0_19218385_28110.cpp:75:17: error: 'G' was not declared in this scope
G[i].push_back(j);
^
0_0_19218385_28110.cpp:80:31: error: 'printf' was not declared in this scope
if (m == s) printf("Yes\n");
^
0_0_19218385_28110.cpp:81:23: error: 'printf' was not declared in this scope
else printf("No\n");
^
0_0_19218385_28110.cpp: In function 'int main()':
0_0_19218385_28110.cpp:88:19: error: 'scanf' was not declared in this scope
scanf("%d", &T);
^
0_0_19218385_28110.cpp:91:36: error: 'printf' was not declared in this scope
printf("Case #%d: ", ++kase);
^
|