0_0_16822173_424.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822173_424.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822173_424.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822173_424.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822173_424.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822173_424.cpp:6:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822173_424.cpp:7:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822173_424.cpp:14:1: error: 'vector' does not name a type
vector prime,digit,cnt;
^
0_0_16822173_424.cpp: In function 'void getPrime()':
0_0_16822173_424.cpp:17:5: error: 'prime' was not declared in this scope
prime.clear();
^
0_0_16822173_424.cpp:18:36: error: 'memset' was not declared in this scope
memset(isPrime,0,sizeof isPrime);
^
0_0_16822173_424.cpp:20:9: error: expected ';' before 'if'
if(!isPrime[i]){
^
0_0_16822173_424.cpp:20:9: error: expected primary-expression before 'if'
0_0_16822173_424.cpp:20:9: error: expected ')' before 'if'
0_0_16822173_424.cpp:23:17: error: expected ';' before 'isPrime'
isPrime[j] = 1;
^
0_0_16822173_424.cpp:23:31: error: expected ')' before ';' token
isPrime[j] = 1;
^
0_0_16822173_424.cpp: At global scope:
0_0_16822173_424.cpp:26:1: error: expected declaration before '}' token
}
^
|