Problem eeducation
User YunQingOng
Submission Time 2026-06-23 15:49:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main{
| ^~~~
eeducation.cpp:4:5: error: expected primary-expression before ‘long’
4 | long long A,B,C,D;
| ^~~~
eeducation.cpp:4:5: error: expected ‘}’ before ‘long’
eeducation.cpp:3:9: note: to match this ‘{’
3 | int main{
| ^
eeducation.cpp:5:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
5 | cin >> A>>B;
| ^~~
| sin
eeducation.cpp:6:28: error: ‘A’ was not declared in this scope
6 | vector<long long> vec1(A);
| ^
eeducation.cpp:7:28: error: ‘B’ was not declared in this scope
7 | vector<long long> vec2(B);
| ^
eeducation.cpp:9:5: error: expected unqualified-id before ‘for’
9 | for(long long i =0; i< A; i++){
| ^~~
eeducatio