Problem card
User SioHuang
Submission Time 2023-11-08 15:33:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp:8:12: error: stray ‘\342’ in program
8 | int k < m−1;
| ^
card.cpp:8:13: error: stray ‘\210’ in program
8 | int k < m−1;
| ^
card.cpp:8:14: error: stray ‘\222’ in program
8 | int k < m−1;
| ^
card.cpp: In function ‘int32_t main()’:
card.cpp:6:8: error: expected initializer before ‘<=’ token
6 | int m <= 1000000;
| ^~
card.cpp:7:9: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
7 | cin >> m;
| ^
| tm
card.cpp:8:9: error: expected initializer before ‘<’ token
8 | int k < m−1;
| ^
card.cpp:9:9: error: ‘k’ was not declared in this scope
9 | cin >> k;
| ^
card.cpp:12:2: error: expected ‘,’ or ‘;’ before ‘if’
12 | if (int y = 0; y <= m; y++) {
| ^~
card.cpp:12:28: error: expected ‘;’ be