0_0_38265059_22665.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^
0_0_38265059_22665.cpp:6:1: error: 'vector' does not name a type
vector<int> map[MAXN];
^
0_0_38265059_22665.cpp: In function 'int main()':
0_0_38265059_22665.cpp:9:18: error: 'scanf' was not declared in this scope
scanf("%d",&t);
^
0_0_38265059_22665.cpp:11:35: error: 'memset' was not declared in this scope
memset(node,0,sizeof(node)); //初始化
^
0_0_38265059_22665.cpp:13:13: error: 'map' was not declared in this scope
map[i].clear();
^
0_0_38265059_22665.cpp:17:13: error: 'map' was not declared in this scope
map[a].push_back(b); //无向图,正反两次操作
^
0_0_38265059_22665.cpp:30:31: error: 'map' was not declared in this scope
for(int i=0;i<map[u].size();i++) //遍历计算相邻节点值之和
^
0_0_38265059_22665.cpp:32:34: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
|