Problem | prime |
---|---|
User | DuckyKayden |
Submission Time | 2025-08-18 16:47:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘bool isPrime(long long int)’:
prime.cpp:17:15: error: a function-definition is not allowed here before ‘{’ token
17 | int32_t main(){
| ^
prime.cpp:25:1: error: expected ‘}’ at end of input
25 | }
| ^
prime.cpp:5:21: note: to match this ‘{’
5 | bool isPrime(int n) {
| ^