Borderou de evaluare (job #2719954)
Utilizator | Data | 10 martie 2021 14:11:02 | |
---|---|---|---|
Problema | Eq4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<s.size())
~^~~~~~~~~
main.cpp:89:33: error: expected ')' before '!' token
if(m.find(i*z+j*t+a)!-m.end())
^
main.cpp:89:22: error: could not convert 'm.std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::find<int, int, std::hash<int>, std::equal_to<int>, std::allocator<std::pair<const int, int> > >((((i * z) + (j * t)) + a))' from 'std::unordered_map<int, int>::iterator {aka std::__detail::_Node_iterator<std::pair<const int, int>, false, false>}' to 'bool'
if(m.find(i*z+j*t+a)!-m.end())
~~~~~~^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !