Problem buffet
User HighLithop
Submission Time 2025-06-29 17:27:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buffet.cpp: In function ‘int main()’:
buffet.cpp:13:2: error: ‘vector’ was not declared in this scope
13 | vector<ll> table1(plates, 0);
| ^~~~~~
buffet.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include <iostream>
+++ |+#include <vector>
2 | typedef long long int ll;
buffet.cpp:13:11: error: expected primary-expression before ‘>’ token
13 | vector<ll> table1(plates, 0);
| ^
buffet.cpp:13:13: error: ‘table1’ was not declared in this scope
13 | vector<ll> table1(plates, 0);
| ^~~~~~
buffet.cpp:14:11: error: expected primary-expression before ‘>’ token
14 | vector<ll> table2(plates, 0);
| ^
buffet.cpp:14:13: error: ‘table2’ was not declared in this scope
14 | vector<ll> table2(plates, 0);
| ^~~~~~
buffet.