0_0_13817883_8149.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13817883_8149.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13817883_8149.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13817883_8149.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13817883_8149.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13817883_8149.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13817883_8149.cpp:10:1: error: 'vector' does not name a type
vector G[N], V[N];
^
0_0_13817883_8149.cpp:12:1: error: 'map' does not name a type
map P;
^
0_0_13817883_8149.cpp: In function 'void dfs(int, int, int)':
0_0_13817883_8149.cpp:15:19: error: 'V' was not declared in this scope
for(int i = (int)V[u].size()-1; i = 0; i--){
^
0_0_13817883_8149.cpp:17:6: error: 'P' was not declared in this scope
if(P[v].size()==0){P[v].push_back(u);continue;}
^
0_0_13817883_8149.cpp:19:4: error: expected ')' before 'ans'
ans[u] = P[v][P[v].size()-1];
^
0_0_13817883_8149.cpp:20:3: error: 'P' was not declared in this scope
P[v].push_back(u);
^
0_0_13817883_8149.cpp:22:19: error: 'G' was not declared in this scope
for(int i = (int)G[u].size()-1; i = 0; i--)
^
0_0_13817883_8149.cpp:25:19: error: 'V' was not declared in this scope
for(int i = (int)V[u].size()-1; i = 0; i--){
^
0_0_13817883_8149.cpp:27:3: error: 'P' was not declared in this scope
P[v].erase(P[v].end()-1);
^
0_0_13817883_8149.cpp: In function 'void fenjie(int, int)':
0_0_13817883_8149.cpp:31:2: error: 'V' was not declared in this scope
V[u].clear();
^
0_0_13817883_8149.cpp:33:3: error: expected ';' before 'if'
if(v%prime[j]==0)
^
0_0_13817883_8149.cpp:33:3: error: expected primary-expression before 'if'
0_0_13817883_8149.cpp:33:3: error: expected ')' before 'if'
0_0_13817883_8149.cpp: In function 'void input()':
0_0_13817883_8149.cpp:42:3: error: expected ';' before 'scanf'
scanf("%d",&v);
^
0_0_13817883_8149.cpp:42:16: error: 'scanf' was not declared in this scope
scanf("%d",&v);
^
0_0_13817883_8149.cpp:42:17: error: expected ')' before ';' token
scanf("%d",&v);
^
0_0_13817883_8149.cpp:43:3: error: 'G' was not declared in this scope
G[i].clear();
^
0_0_13817883_8149.cpp:43:5: error: 'i' was not declared in this scope
G[i].clear();
^
0_0_13817883_8149.cpp:44:13: error: 'v' was not declared in this scope
fenjie(i, v);
^
0_0_13817883_8149.cpp: At global scope:
0_0_13817883_8149.cpp:46:2: error: expected unqualified-id before 'for'
for(int u, v, i = 1; i
^
0_0_13817883_8149.cpp:46:23: error: 'i' does not name a type
for(int u, v, i = 1; i
^
0_0_13817883_8149.cpp:48:3: error: 'G' does not name a type
G[u].push_back(v);
^
0_0_13817883_8149.cpp:49:3: error: 'G' does not name a type
G[v].push_back(u);
^
0_0_13817883_8149.cpp:50:2: error: expected declaration before '}' token
}
^
|