Problem | lunchbox |
---|---|
User | DuckyKayden |
Submission Time | 2025-08-14 14:54:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:5:26: error: expected constructor, destructor, or type conversion before ‘(’ token
5 | ios_base::sync_with_stdio(0);
| ^
lunchbox.cpp:6:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin.tie(0);
| ^~~
| sin
lunchbox.cpp:7:1: error: ‘cout’ does not name a type
7 | cout.tie(0):
| ^~~~
lunchbox.cpp:9:11: error: ‘cin’ does not name a type; did you mean ‘sin’?
9 | int N, m; cin >> N >> m;
| ^~~
| sin
lunchbox.cpp:12:21: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
12 | vector<int> request(m);
| ^
| tm
lunchbox.cpp:14:1: error: expected unqualified-id before ‘for’
14 | for (int i = 0; i < m; ++i) {
| ^~~
lunchbox.cpp:14:17: error: ‘i’ does not name a type
14 | for (int i = 0; i < m; ++i) {