Problem card
User Shizhan
Submission Time 2023-05-17 16:50:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:4:10: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
4 | cin >> m >> k;
| ^
| tm
card.cpp:4:15: error: ‘k’ was not declared in this scope
4 | cin >> m >> k;
| ^
card.cpp:5:3: error: ‘r’ was not declared in this scope
5 | r = (k)-1;
| ^
card.cpp:6:3: error: ‘q’ was not declared in this scope
6 | q = (k)+1;
| ^