Problem park
User cobnet
Submission Time 2025-02-21 22:00:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

park.cpp:2:1: error: ‘uisng’ does not name a type
2 | uisng namespace std;
| ^~~~~
park.cpp:5:36: error: ‘deque’ has not been declared
5 | int join(ll gSize, ll willingness, deque<pair<ll, ll>> &thequeue){
| ^~~~~
park.cpp:5:41: error: expected ‘,’ or ‘...’ before ‘<’ token
5 | int join(ll gSize, ll willingness, deque<pair<ll, ll>> &thequeue){
| ^
park.cpp: In function ‘int join(ll, ll, int)’:
park.cpp:6:2: error: ‘thequeue’ was not declared in this scope
6 | thequeue.push_back(make_pair(gSize, willingness));
| ^~~~~~~~
park.cpp:6:21: error: ‘make_pair’ was not declared in this scope; did you mean ‘std::make_pair’?
6 | thequeue.push_back(make_pair(gSize, willingness));
| ^~~~~~~~~
| std::make_pair
In file included from /usr/include/c++/9/