0_0_19238188_2839.cpp:20:1: error: 'vectot' does not name a type
vectot<int> G[MAXN];
^
0_0_19238188_2839.cpp: In function 'bool dfs(int)':
0_0_19238188_2839.cpp:25:21: error: 'G' was not declared in this scope
for (int i=0; i<G[u].size(); i++) if(G[u][v]){
^
0_0_19238188_2839.cpp:25:47: error: 'v' was not declared in this scope
for (int i=0; i<G[u].size(); i++) if(G[u][v]){
^
0_0_19238188_2839.cpp:30:12: error: 't' was not declared in this scope
topo[--t] = u;
^
0_0_19238188_2839.cpp: In function 'bool topo()':
0_0_19238188_2839.cpp:34:11: error: 'bool topo()' redeclared as different kind of symbol
bool topo(){
^
0_0_19238188_2839.cpp:19:5: note: previous declaration 'int topo [200100]'
int topo[MAXN];
^
0_0_19238188_2839.cpp:35:5: error: 't' was not declared in this scope
t = n;
^
0_0_19238188_2839.cpp:36:26: error: 'memst' was not declared in this scope
memst(c, 0, sizeof(c));
^
0_0_19238188_2839.cpp: At global scope:
0_0_19238188_2839.cpp:44:12: error: conflicting declaration 'int dp [200100]'
int dp[MAXN];
^
0_0_19238188_2839.cpp:22:11: note: previous declaration as 'long long int dp [200100]'
long long dp[MAXN];
^
0_0_19238188_2839.cpp: In function 'int cal(int)':
0_0_19238188_2839.cpp:49:5: error: 'vis' was not declared in this scope
vis[u]=1;
^
0_0_19238188_2839.cpp:53:25: error: 'G' was not declared in this scope
for (int i=0; i<G[x].size(); i++) {
^
0_0_19238188_2839.cpp:54:13: error: 'Edge' was not declared in this scope
Edge& e = edges[G[x][i]];
^
0_0_19238188_2839.cpp:54:19: error: 'e' was not declared in this scope
Edge& e = edges[G[x][i]];
^
0_0_19238188_2839.cpp:54:23: error: 'edges' was not declared in this scope
Edge& e = edges[G[x][i]];
^
0_0_19238188_2839.cpp:57:17: error: 'd' was not declared in this scope
d[e.to] = d[x] + 1;
^
0_0_19238188_2839.cpp: In function 'int main()':
0_0_19238188_2839.cpp:68:16: error: 'vis' was not declared in this scope
memset(vis, false, sizeof(vis));
^
0_0_19238188_2839.cpp:74:13: error: 'G' was not declared in this scope
G[cao[i]].push_back(battle+i);
^
0_0_19238188_2839.cpp:78:13: error: 'G' was not declared in this scope
G[battle+i].push_back(yuan[i]);
^
0_0_19238188_2839.cpp:81:27: error: 'price' was not declared in this scope
scanf("%lld", price+i);
^
0_0_19238188_2839.cpp:86:17: error: 'G' was not declared in this scope
G[0].push_back(i);
^
0_0_19238188_2839.cpp:89:17: error: 'G' was not declared in this scope
G[i].push_back(sink);
^
0_0_19238188_2839.cpp:94:18: error: 'topo' cannot be used as a function
if (topo()){
^
|