| Problem | GSS |
|---|---|
| User | R9q5P8 |
| Submission Time | 2025-11-18 13:13:04 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:21:2: error: expected ‘,’ or ‘;’ before ‘for’
21 | for (int i = 0; i < costs.size()/4; ++i)
| ^~~
GSS.cpp:21:18: error: ‘i’ was not declared in this scope
21 | for (int i = 0; i < costs.size()/4; ++i)
| ^
GSS.cpp:28:26: error: ‘backl’ was not declared in this scope; did you mean ‘back’?
28 | for (int i = front; i < backl ++i)
| ^~~~~
| back
GSS.cpp:28:34: error: expected ‘;’ before ‘i’
28 | for (int i = front; i < backl ++i)
| ^
| ;
GSS.cpp:29:22: error: invalid use of non-static member function ‘std::multiset<_Key, _Compare, _Alloc>::iterator std::multiset<_Key, _Compare, _Alloc>::begin() const [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>; std::multise