| Problem | nprime |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-13 21:26:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
nprime.cpp: In function ‘int findprime(int)’:
nprime.cpp:18:12: error: a function-definition is not allowed here before ‘{’ token
18 | int main() {
| ^
nprime.cpp:29:1: error: expected ‘}’ at end of input
29 | }
| ^
nprime.cpp:7:25: note: to match this ‘{’
7 | for(int i=0;i*i<=x;i++){
| ^
nprime.cpp:29:1: error: expected ‘}’ at end of input
29 | }
| ^
nprime.cpp:6:21: note: to match this ‘{’
6 | int findprime(int x){
| ^