0_0_16288412_25162.cpp:11:8: error: 'edge' was not declared in this scope
vector<edge> G[maxn];
^
0_0_16288412_25162.cpp:11:12: error: template argument 1 is invalid
vector<edge> G[maxn];
^
0_0_16288412_25162.cpp:11:12: error: template argument 2 is invalid
0_0_16288412_25162.cpp:11:16: error: 'maxn' was not declared in this scope
vector<edge> G[maxn];
^
0_0_16288412_25162.cpp:11:21: error: invalid type in declaration before ';' token
vector<edge> G[maxn];
^
0_0_16288412_25162.cpp:12:10: error: 'maxn' was not declared in this scope
bool vis[maxn];
^
0_0_16288412_25162.cpp: In function 'void dfs(int)':
0_0_16288412_25162.cpp:18:5: error: 'vis' was not declared in this scope
vis[u] = true;
^
0_0_16288412_25162.cpp:19:24: error: 'G' was not declared in this scope
for(int i = 0; i < G[u].size(); ++i) {
^
0_0_16288412_25162.cpp: In function 'bool judge()':
0_0_16288412_25162.cpp:27:10: error: 'vis' was not declared in this scope
fill(vis, vis + n, false);
^
0_0_16288412_25162.cpp: In function 'int main()':
0_0_16288412_25162.cpp:48:36: error: 'G' was not declared in this scope
for(int i = 0; i < n; ++i) G[i].clear();
^
0_0_16288412_25162.cpp:51:13: error: 'G' was not declared in this scope
G[f].push_back(edge(t, c));
^
0_0_16288412_25162.cpp:51:37: error: 'edge' was not declared in this scope
G[f].push_back(edge(t, c));
^
0_0_16288412_25162.cpp: At global scope:
0_0_16288412_25162.cpp:57:6: error: expected unqualified-id before 'return'
} return n;
^
0_0_16288412_25162.cpp:58:1: error: expected declaration before '}' token
}
^
|