Borderou de evaluare (job #2962562)
Utilizator | Data | 8 ianuarie 2023 18:51:09 | |
---|---|---|---|
Problema | ADN | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool exists(int)':
main.cpp:54:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | if(q == v[i].size() - 1)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:118:64: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | for(j = v[ord[i]].size() - mat[ord[i - 1]][ord[i]] ; j < v[ord[i]].size() ; j++)
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:122:14: error: expected ';' before 'return'
122 | o.close()
| ^
| ;
123 | return 0;
| ~~~~~~
main.cpp:62:16: warning: unused variable 'q' [-Wunused-variable]
62 | int i,j,ii,q;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !