Problem eeducation
User kashsinghal
Submission Time 2023-11-15 11:15:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int main()’:
eeducation.cpp:5:13: error: ‘sync_with_stdio’ was not declared in this scope
5 | ios_base:sync_with_stdio (false);
| ^~~~~~~~~~~~~~~
eeducation.cpp:10:3: error: expected primary-expression before ‘int’
10 | (int i=0;i<n; i++) cin <<a[i];
| ^~~
eeducation.cpp:10:3: error: expected ‘)’ before ‘int’
10 | (int i=0;i<n; i++) cin <<a[i];
| ~^~~
| )
eeducation.cpp:10:11: error: ‘i’ was not declared in this scope
10 | (int i=0;i<n; i++) cin <<a[i];
| ^
eeducation.cpp:13:3: error: expected primary-expression before ‘int’
13 | (int i=0;i<m; i++) {
| ^~~
eeducation.cpp:13:3: error: expected ‘)’ before ‘int’
13 | (int i=0;i<m; i++) {
| ~^~~
| )
eeducation.cpp:18:3: error: expected primary-expression before ‘int’
18 | (int i=1;i<m; i++) {