Problem nprime
User KL
Submission Time 2024-10-27 12:35:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘long long int prime(int)’:
nprime.cpp:25:12: error: a function-definition is not allowed here before ‘{’ token
25 | int main() {
| ^
nprime.cpp:48:1: error: expected ‘}’ at end of input
48 | }
| ^
nprime.cpp:3:24: note: to match this ‘{’
3 | long long prime(int n) {
| ^