Problem nprime
User votesac
Submission Time 2024-01-29 16:32:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp:3:16: error: expected initializer before ‘<’ token
3 | bool strawberry<int x>{
| ^
nprime.cpp: In function ‘int main()’:
nprime.cpp:18:12: error: ‘strawberry’ was not declared in this scope
18 | if(strawberry(i)==1){
| ^~~~~~~~~~
nprime.cpp:21:26: error: expected ‘;’ before ‘}’ token
21 | cout << i
| ^
| ;
22 | }
| ~