| Problem | cuttingqueue |
|---|---|
| User | neoaix |
| Submission Time | 2026-06-25 10:48:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cuttingqueue.cpp: In function ‘int main()’:
cuttingqueue.cpp:11:5: error: ‘uno_map’ was not declared in this scope
11 | uno_map<int, list<int>:: iterator> lastInGroup;
| ^~~~~~~
cuttingqueue.cpp:11:13: error: expected primary-expression before ‘int’
11 | uno_map<int, list<int>:: iterator> lastInGroup;
| ^~~
cuttingqueue.cpp:20:17: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
20 | cin << id ;
| ~~~ ^~ ~~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
cuttingqueue.cpp:20:17: note: candidate: ‘operator<<(int, int)’ <built-in>
20 | cin << id ;
| ~~~~^~~~~
cuttingqueue.cpp:20:17: note: no known conversion for argument 1 from ‘std: