Problem nprime
User RandomCtfNoob
Submission Time 2025-02-03 15:20:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘int prim(int, std::vector<int>&, int&, int)’:
nprime.cpp:8:5: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
8 | return;
| ^~~~~~
nprime.cpp:15:4: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
15 | return;
| ^~~~~~