Problem lostarray
User Suki
Submission Time 2024-02-14 08:54:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lostarray.cpp: In function ‘int main()’:
lostarray.cpp:13:17: error: expected ‘;’ before ‘>’ token
13 | for (int i=0, i > M, i++) {
| ^~
| ;
lostarray.cpp:13:18: error: expected primary-expression before ‘>’ token
13 | for (int i=0, i > M, i++) {
| ^
lostarray.cpp:13:26: error: expected ‘;’ before ‘)’ token
13 | for (int i=0, i > M, i++) {
| ^
| ;
lostarray.cpp:25:17: error: expected ‘;’ before ‘++’ token
25 | for (int i=0, i++, i < N) {
| ^~
| ;
lostarray.cpp:25:19: error: expected primary-expression before ‘,’ token
25 | for (int i=0, i++, i < N) {
| ^
lostarray.cpp:25:26: error: expected ‘;’ before ‘)’ token
25 | for (int i=0, i++, i < N) {
| ^