Problem eeducation
User RgsT0829810B03
Submission Time 2023-11-15 11:21:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int32_t main()’:
eeducation.cpp:10:15: error: expected ‘;’ before ‘long’
10 | cin >> N >> M
| ^
| ;
eeducation.cpp:12:6: error: expected ‘(’ before ‘{’ token
12 | for {int i=0; i<n; i++)
| ^
| (
eeducation.cpp:12:6: error: expected primary-expression before ‘{’ token
eeducation.cpp:28:1: error: expected primary-expression at end of input
28 | }
| ^
eeducation.cpp:28:2: error: expected ‘;’ at end of input
28 | }
| ~^
| ;
eeducation.cpp:28:1: error: expected primary-expression at end of input
28 | }
| ^
eeducation.cpp:28:2: error: expected ‘)’ at end of input
28 | }
| ~^
| )
eeducation.cpp:12:6: note: to match this ‘(’
12 | for {int i=0; i<n; i++)
| ^
eeducation.cpp:28:1: error: expected statement at end of input
28 | }