Borderou de evaluare (job #2921388)
Utilizator | Data | 30 august 2022 16:57:41 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:35:1: error: 'unordered_map' does not name a type
35 | unordered_map <int,bool> harta;
| ^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:50:13: error: 'harta' was not declared in this scope
50 | harta[b]=1;
| ^~~~~
main.cpp:52:13: error: 'harta' was not declared in this scope
52 | harta[b]=0;
| ^~~~~
main.cpp:54:19: error: 'harta' was not declared in this scope
54 | cout<<harta[b]<<'\n';
| ^~~~~
main.cpp:43:13: warning: unused variable 'x' [-Wunused-variable]
43 | int n,i,x,a,b;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !