Problem lunchbox
User BoneMeBurner
Submission Time 2023-03-06 17:40:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:5:7: error: expected unqualified-id before ‘long’
5 | std::long long A,B,C,D = 0,E = 0;
| ^~~~
lunchbox.cpp:6:14: error: ‘A’ was not declared in this scope
6 | std::cin >> A >> B;
| ^
lunchbox.cpp:6:19: error: ‘B’ was not declared in this scope
6 | std::cin >> A >> B;
| ^
lunchbox.cpp:7:7: error: expected unqualified-id before ‘for’
7 | std::for (long long i = 0; i < B;i++){
| ^~~
lunchbox.cpp:7:29: error: ‘i’ was not declared in this scope
7 | std::for (long long i = 0; i < B;i++){
| ^
lunchbox.cpp:12:7: error: expected unqualified-id before ‘for’
12 | std::for (long long z = 0; A > D; z++){
| ^~~
lunchbox.cpp:12:33: error: ‘D’ was not declared in this scope
12 | std::for (long long z = 0; A > D