Problem buffet
User r1r2r3r4
Submission Time 2025-07-02 16:16:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buffet.cpp:3:13: error: ‘ll’ does not name a type
3 | #define int ll;
| ^~
buffet.cpp:5:1: note: in expansion of macro ‘int’
5 | int main() {
| ^~~
buffet.cpp: In function ‘int main()’:
buffet.cpp:3:13: error: ‘ll’ was not declared in this scope
3 | #define int ll;
| ^~
buffet.cpp:6:5: note: in expansion of macro ‘int’
6 | int n, k;
| ^~~
buffet.cpp:6:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n, k;
| ^
| yn
buffet.cpp:6:12: error: ‘k’ was not declared in this scope
6 | int n, k;
| ^
buffet.cpp:8:9: error: ‘t1’ was not declared in this scope; did you mean ‘tm’?
8 | int t1[n];
| ^~
| tm
buffet.cpp:9:9: error: ‘t2’ was not declared in this scope; did you mean ‘tm’?
9 | int t2[n];
| ^~