Borderou de evaluare (job #1665291)
Utilizator | Data | 26 martie 2016 19:57:16 | |
---|---|---|---|
Problema | Progr | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘long long int rezolva(int, int*)’:
user.cpp:33:48: error: invalid initialization of non-const reference of type ‘int&’ from an rvalue of type ‘std::unordered_map<int, int>::iterator {aka std::__detail::_Node_iterator<std::pair<const int, int>, false, false>}’
int &value = h.find(2 * v[i] - v[j]) ;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !