Borderou de evaluare (job #2330625)
Utilizator | Data | 28 ianuarie 2019 17:53:51 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:30:19: error: request for member 'erase' in 'mp.std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[]<int, int, std::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, int> > >(x)', which is of non-class type 'std::unordered_map<int, int>::mapped_type {aka int}'
mp[x].erase();
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !