Problem card
User GanJaeHan
Submission Time 2026-03-15 14:03:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:26:32: error: invalid operands of types ‘const char*’ and ‘const char [2]’ to binary ‘operator+’
26 | cout << c[k - 1] + " " + c[k] + " " + c[k + 1];
| ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
| | |
| | const char [2]
| const char*