Borderou de evaluare (job #2624959)
Utilizator | Data | 5 iunie 2020 17:05:00 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:2: error: invalid preprocessing directive #<
#<include <unordered_map>
^
main.cpp:9:1: error: 'unordered_map' does not name a type
unordered_map <int, int> map1;
^~~~~~~~~~~~~
main.cpp:10:1: error: 'unordered_map' does not name a type
unordered_map <int, int>::iterator map2;
^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:16:5: error: 'f' was not declared in this scope
f>>n;
^
main.cpp:21:13: error: 'map1' was not declared in this scope
map1.insert(make_pair(nr,1))
^~~~
main.cpp:30:13: error: 'map2' was not declared in this scope
map2=map1.find(nr);
^~~~
main.cpp:30:18: error: 'map1' was not declared in this scope
map2=map1.find(nr);
^~~~
main.cpp:35:9: error: expected ';' before '}' token
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !