Problem | card |
---|---|
User | cobnet |
Submission Time | 2024-04-27 14:54:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:12:14: error: ‘initVector’ was not declared in this scope
12 | int temp = initVector[0];
| ^~~~~~~~~~
card.cpp:14:13: error: redeclaration of ‘int temp’
14 | int temp = initArray[0];
| ^~~~
card.cpp:12:7: note: ‘int temp’ previously declared here
12 | int temp = initVector[0];
| ^~~~
card.cpp:15:13: error: redeclaration of ‘int temp2’
15 | int temp2 = initArray[1];
| ^~~~~
card.cpp:13:7: note: ‘int temp2’ previously declared here
13 | int temp2 = initVector[1];
| ^~~~~