Problem | fibo |
---|---|
User | Ningja |
Submission Time | 2023-11-10 11:44:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fibo.cpp:5:1: error: ‘num’ does not name a type
5 | num[0] = 0;
| ^~~
fibo.cpp:6:1: error: ‘num’ does not name a type
6 | num[1] = 1;
| ^~~
fibo.cpp: In function ‘int main()’:
fibo.cpp:19:15: error: array must be initialized with a brace-enclosed initializer
19 | int num[0] = 0;
| ^
fibo.cpp:20:6: error: conflicting declaration ‘int num [1]’
20 | int num[1] = 1;
| ^~~
fibo.cpp:19:6: note: previous declaration as ‘int num [0]’
19 | int num[0] = 0;
| ^~~