Borderou de evaluare (job #3278457)
Utilizator | Data | 19 februarie 2025 21:21:59 | |
---|---|---|---|
Problema | Biperm | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve2()':
main.cpp:158:25: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
158 | M[{v1[i],v2[i]}]++;
| ^~
main.cpp:159:28: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare]
159 | if(M[{v1[i],v2[i]}]==2)
main.cpp:173:37: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare]
173 | if(M[{v1[i],careful[v1[i]]}]==2)
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !