Problem | prime |
---|---|
User | om2024 |
Submission Time | 2025-01-23 17:09:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int isPrime(long long int)’:
prime.cpp:9:16: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
9 | return "Not Prime";
| ^~~~~~~~~~~
| |
| const char*
prime.cpp:18:20: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
18 | return "Not Prime";
| ^~~~~~~~~~~
| |
| const char*
prime.cpp:23:12: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
23 | return "Prime";
| ^~~~~~~
| |
| const char*