| Problem | monsters |
|---|---|
| User | YellowPurpleDragon |
| Submission Time | 2025-11-18 11:24:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
monsters.cpp: In function ‘int main()’:
monsters.cpp:16:26: error: request for member ‘first’ in ‘d.std::deque<std::pair<long long int, long long int> >::front().std::pair<long long int, long long int>::first’, which is of non-class type ‘long long int’
16 | if (l>=d.front().first.first && l<=d.front().first.second) {
| ^~~~~
monsters.cpp:16:54: error: request for member ‘second’ in ‘d.std::deque<std::pair<long long int, long long int> >::front().std::pair<long long int, long long int>::first’, which is of non-class type ‘long long int’
16 | if (l>=d.front().first.first && l<=d.front().first.second) {
| ^~~~~~