Problem | 3nplus1 |
---|---|
User | ryuki |
Submission Time | 2024-02-28 12:49:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp:4:17: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
4 | int next_number(num) {
| ^~~
| enum
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:23:24: error: ‘next_number’ cannot be used as a function
23 | num = next_number(num);
| ^