Problem | card |
---|---|
User | Henries |
Submission Time | 2024-06-26 09:38:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:16:4: error: ‘save’ was not declared in this scope
16 | save = d[0];
| ^~~~
card.cpp:21:4: error: ‘save1’ was not declared in this scope
21 | save1=d[0];
| ^~~~~
card.cpp:22:4: error: ‘save2’ was not declared in this scope
22 | save2=d[1];
| ^~~~~
card.cpp: At global scope:
card.cpp:30:2: error: expected declaration before ‘}’ token
30 | }
| ^
card.cpp:31:2: error: ‘cout’ does not name a type
31 | cout << d[k-1]<<' '<<d[k]<<' '<<d[k+1];
| ^~~~
card.cpp:32:1: error: expected declaration before ‘}’ token
32 | }
| ^