0_0_8095426_25805.cpp:52: error: redefinition of `int num'
0_0_8095426_25805.cpp:6: error: `int num' previously declared here
0_0_8095426_25805.cpp:52: error: redefinition of `int ans'
0_0_8095426_25805.cpp:6: error: `int ans' previously declared here
0_0_8095426_25805.cpp:52: error: redefinition of `int buf[1000]'
0_0_8095426_25805.cpp:6: error: `int buf[1000]' previously declared here
0_0_8095426_25805.cpp:53: error: redefinition of `bool vis[1000]'
0_0_8095426_25805.cpp:7: error: `bool vis[1000]' previously declared here
0_0_8095426_25805.cpp: In function `int is_prime(int, int)':
0_0_8095426_25805.cpp:56: error: redefinition of `int is_prime(int, int)'
0_0_8095426_25805.cpp:10: error: `int is_prime(int, int)' previously defined here
0_0_8095426_25805.cpp: In function `void dfs(int)':
0_0_8095426_25805.cpp:64: error: redefinition of `void dfs(int)'
0_0_8095426_25805.cpp:18: error: `void dfs(int)' previously defined here
0_0_8095426_25805.cpp: In function `int main()':
0_0_8095426_25805.cpp:84: error: redefinition of `int main()'
0_0_8095426_25805.cpp:38: error: `int main()' previously defined here
0_0_8095426_25805.cpp:91: error: return-statement with no value, in function returning 'int'
|