Problem boxispull
User Halud
Submission Time 2024-12-26 18:35:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp: In function ‘void solve()’:
boxispull.cpp:2:19: error: ‘cin’ was not declared in this scope
2 | int i, j, a, b; cin >> i >> j >> a >> b;
| ^~~
boxispull.cpp:20:3: error: ‘cout’ was not declared in this scope
20 | cout << result << endl;
| ^~~~
boxispull.cpp:20:21: error: ‘endl’ was not declared in this scope
20 | cout << result << endl;
| ^~~~
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:24:3: error: ‘ios_base’ has not been declared
24 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
boxispull.cpp:25:3: error: ‘cin’ was not declared in this scope
25 | cin.tie(0);
| ^~~