Problem vouchers
User jatrophalouvre
Submission Time 2024-09-25 13:19:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

vouchers.cpp:11:10: error: ‘PII’ was not declared in this scope
11 | multiset<PII> prc;
| ^~~
vouchers.cpp:11:13: error: template argument 1 is invalid
11 | multiset<PII> prc;
| ^
vouchers.cpp:11:13: error: template argument 2 is invalid
vouchers.cpp:11:13: error: template argument 3 is invalid
vouchers.cpp: In function ‘int main()’:
vouchers.cpp:19:13: error: request for member ‘insert’ in ‘prc’, which is of non-class type ‘int’
19 | prc.insert({x, i});
| ^~~~~~
vouchers.cpp:23:16: error: request for member ‘size’ in ‘prc’, which is of non-class type ‘int’
23 | while (prc.size())
| ^~~~
vouchers.cpp:25:26: error: request for member ‘begin’ in ‘prc’, which is of non-class type ‘int’
25 | auto [x, y]=*prc.begin();
| ^~~~~
vouchers.cpp:27:20: error: request for member ‘size’ in ‘prc’, wh