Problem supperbox
User Tyx2019
Submission Time 2025-08-28 14:15:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

supperbox.cpp: In function ‘int main()’:
supperbox.cpp:2:13: error: expected ‘;’ before ‘long’
2 | #define int long long
| ^~~~
supperbox.cpp:72:3: note: in expansion of macro ‘int’
72 | int ans = 0;
| ^~~
supperbox.cpp:77:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
77 | ans = max(ans, D.A[i]+E.A[X-i]);
| ^~~
| abs
supperbox.cpp:79:11: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
79 | cout << ans << '\n';
| ^~~
| abs