Borderou de evaluare (job #587233)
Utilizator | Matei Balaur mateilb1234 | IP | ascuns |
---|---|---|---|
Problemă | Sword Art Online | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 mar. 2021 13:25:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: 'priority_queue' does not name a type
6 | priority_queue < long long > pq;
| ^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:17:22: error: 'pq' was not declared in this scope
17 | if (x >= 0) pq.push(x);
| ^~
main.cpp:19:28: error: 'pq' was not declared in this scope
19 | while (hp <= 0 && !pq.empty() && k)
| ^~