Problem flamethrower_ex
User chenweilian
Submission Time 2023-11-18 19:45:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower_ex.cpp: In function ‘int32_t main()’:
flamethrower_ex.cpp:30:51: error: no match for ‘operator<=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘std::pair<long long int, long long int>’} and ‘int’)
30 | while(!destroy.empty() && destroy.front() <= 0) {
| ~~~~~~~~~~~~~~~ ^~ ~
| | |
| | int
| __gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type {aka std::pair<long long int, long long int>}
In file included from /usr/include/c++/9/regex:62,
from /usr/include