Borderou de evaluare (job #3183034)
Utilizator | Data | 10 decembrie 2023 15:04:56 | |
---|---|---|---|
Problema | Heapuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:1: error: 'unordered_map' does not name a type
14 | unordered_map<int, int> pos;
| ^~~~~~~~~~~~~
main.cpp: In function 'void Swap(int, int)':
main.cpp:18:5: error: 'pos' was not declared in this scope
18 | pos[heap[i]] = j;
| ^~~
main.cpp: In function 'int main()':
main.cpp:65:13: error: 'pos' was not declared in this scope
65 | pos[x] = indH;
| ^~~
main.cpp:74:24: error: 'pos' was not declared in this scope; did you mean 'posX'?
74 | int posX = pos[x];
| ^~~
| posX
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !