Problem | nprime |
---|---|
User | votesac |
Submission Time | 2024-01-29 16:30:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nprime.cpp:4:26: error: expected constructor, destructor, or type conversion before ‘(’ token
4 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^
nprime.cpp:4:31: error: ‘cin’ does not name a type; did you mean ‘sin’?
4 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~
| sin
nprime.cpp:5:16: error: expected initializer before ‘<’ token
5 | bool strawberry<int x>{
| ^
nprime.cpp: In function ‘int main()’:
nprime.cpp:20:12: error: ‘strawberry’ was not declared in this scope
20 | if(strawberry(i)==1){
| ^~~~~~~~~~
nprime.cpp:23:26: error: expected ‘;’ before ‘}’ token
23 | cout << i
| ^
| ;
24 | }
| ~