Problem monsters
User Kiameimon
Submission Time 2023-12-02 18:00:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters.cpp: In function ‘int main()’:
monsters.cpp:30:10: error: ‘class std::deque<std::pair<long long int, long long int> >’ has no member named ‘first’
30 | if(arr.first == 0){
| ^~~~~
monsters.cpp:31:13: error: ‘p’ was not declared in this scope
31 | s.insert(p.second);
| ^
monsters.cpp:32:19: error: expected ‘;’ before ‘}’ token
32 | arr.pop_front()
| ^
| ;
33 | }
| ~
monsters.cpp:42:9: error: expected unqualified-id before ‘.’ token
42 | deque.pop_front();
| ^