Borderou de evaluare (job #3151047)
Utilizator | Data | 19 septembrie 2023 16:15:34 | |
---|---|---|---|
Problema | Divseq | 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:51:31: error: no match for 'operator[]' (operand types are 'int [n]' and 'std::multiset<int>::iterator' {aka 'std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::const_iterator'})
51 | m.erase( m.find( v[it] ) );
| ^
main.cpp:24:9: warning: unused variable 'it' [-Wunused-variable]
24 | int it = 0;
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !