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

Compile Error

eeducation.cpp: In function ‘int32_t main()’:
eeducation.cpp:6:13: error: ‘sync_with_stdio’ was not declared in this scope
6 | ios_base:sync_with_stdio (false);
| ^~~~~~~~~~~~~~~
eeducation.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
eeducation.cpp:11:3: note: in expansion of macro ‘int’
11 | (int i=0;i<n; i++) cin <<a[i];
| ^~~
eeducation.cpp:11:3: error: expected ‘)’ before ‘long’
11 | (int i=0;i<n; i++) cin <<a[i];
| ~^
| )
eeducation.cpp:11:11: error: ‘i’ was not declared in this scope
11 | (int i=0;i<n; i++) cin <<a[i];
| ^
eeducation.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
eeducation.cpp:14:3: note: in expansion of macro ‘int’
14 | (int i=0;i<m; i++) {
| ^~~