Problem | prime |
---|---|
User | Nexus |
Submission Time | 2025-01-22 16:21:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘void solve()’:
prime.cpp:26:9: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘const char [6]’ to binary ‘operator<<’
26 | count << "Prime" << endl;
| ~~~~~~^~~~~~~~~~
prime.cpp:42:12: error: a function-definition is not allowed here before ‘{’ token
42 | int main() {
| ^
prime.cpp:51:1: error: expected ‘}’ at end of input
51 | }
| ^
prime.cpp:21:14: note: to match this ‘{’
21 | void solve() {
| ^