0_0_33981345_10004.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_33981345_10004.cpp:7:1: error: 'vector' does not name a type
vector<int> prime;
^
0_0_33981345_10004.cpp: In function 'void init()':
0_0_33981345_10004.cpp:10:45: error: 'memset' was not declared in this scope
memset(notprime, false, sizeof(notprime));
^
0_0_33981345_10004.cpp:14:13: error: 'prime' was not declared in this scope
prime.push_back(i);
^
0_0_33981345_10004.cpp: In function 'int frac(int)':
0_0_33981345_10004.cpp:25:22: error: 'prime' was not declared in this scope
for (auto item : prime) {
^
0_0_33981345_10004.cpp: In function 'void solve()':
0_0_33981345_10004.cpp:40:5: error: 'cin' was not declared in this scope
cin >> _;
^
0_0_33981345_10004.cpp:50:9: error: 'cout' was not declared in this scope
cout << (res ? "W" : "L") << endl;
^
0_0_33981345_10004.cpp:50:38: error: 'endl' was not declared in this scope
cout << (res ? "W" : "L") << endl;
^
0_0_33981345_10004.cpp: In function 'int main()':
0_0_33981345_10004.cpp:55:5: error: 'ios_base' has not been declared
ios_base::sync_with_stdio(false);
^
0_0_33981345_10004.cpp:56:5: error: 'cin' was not declared in this scope
cin.tie(nullptr);
^
0_0_33981345_10004.cpp:57:5: error: 'cout' was not declared in this scope
cout.tie(nullptr);
^
|