Problem nextprime
User Lucas
Submission Time 2023-12-06 11:51:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nextprime.cpp: In function ‘int nextPrime(int)’:
nextprime.cpp:16:11: error: expected primary-expression before ‘)’ token
16 | while (!) {
| ^
nextprime.cpp: In function ‘int main()’:
nextprime.cpp:26:11: error: ‘x’ was not declared in this scope
26 | cout << x;
| ^