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

Compile Error

nprime.cpp: In function ‘bool strawberry(int)’:
nprime.cpp:14:12: error: a function-definition is not allowed here before ‘{’ token
14 | int main() {
| ^
nprime.cpp:27:1: error: expected ‘}’ at end of input
27 | }
| ^
nprime.cpp:3:23: note: to match this ‘{’
3 | bool strawberry(int x){
| ^