| Problem | boxes3 |
|---|---|
| User | WANCH5789W |
| Submission Time | 2026-06-04 11:35:05 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
boxes3.cpp: In function ‘int main()’:
boxes3.cpp:11:25: error: template argument 1 is invalid
11 | vector<vector<<long long>> spaces(N+1);
| ^~
boxes3.cpp:11:25: error: template argument 2 is invalid
boxes3.cpp:17:12: error: invalid types ‘int[int]’ for array subscript
17 | spaces[pos].push_back(S);
| ^
boxes3.cpp:21:29: error: ‘pos’ was not declared in this scope
21 | for (int j = 0; j < spaces[pos].size; j++) {
| ^~~
boxes3.cpp:22:14: error: invalid types ‘int[int]’ for array subscript
22 | if (spaces[j] > spaces[j+1] && spaces[pos].size >= 2){
| ^
boxes3.cpp:22:28: error: invalid types ‘int[int]’ for array subscript
22 | if (spaces[j] > spaces[j+1] && spaces[pos].size >= 2){
| ^
boxes3.cpp:24:10: error: ‘ans’ was not declared in this scope; did you mean