Borderou de evaluare (job #3250413)
Utilizator | Data | 20 octombrie 2024 18:43:03 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'unordered_map' does not name a type
7 | unordered_map<int,int>hash_map;
| ^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:16:23: error: 'hash_map' was not declared in this scope
16 | if(task == 1) hash_map[x] = 1;
| ^~~~~~~~
main.cpp:17:28: error: 'hash_map' was not declared in this scope
17 | else if(task == 2) hash_map[x] = 0;
| ^~~~~~~~
main.cpp:18:22: error: 'hash_map' was not declared in this scope
18 | else fout << hash_map[x] << "\n";
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !