Borderou de evaluare (job #2891336)
Utilizator | Data | 18 aprilie 2022 11:35:42 | |
---|---|---|---|
Problema | NFA | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Verificare(std::string, int, int)':
main.cpp:23:24: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
23 | if(cuvant.length() == index) {
| ~~~~~~~~~~~~~~~~^~~~~~~~
main.cpp:31:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i = 0; i < v[start].size(); i++)
| ~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:64:9: error: 'ok' was not declared in this scope
64 | ok = false;
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !