Borderou de evaluare (job #2796125)
Utilizator | Data | 7 noiembrie 2021 17:07:54 | |
---|---|---|---|
Problema | Ratina | 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:28:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for( j = 1 ; j < s.size(); j++ ) {
| ~~^~~~~~~~~~
main.cpp:29:7: error: 'addChar' was not declared in this scope
29 | addChar( h, s[j] );
| ^~~~~~~
main.cpp:39:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | if( dr < prefix[v[j]].size() )
| ~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:22:33: warning: unused variable 'a' [-Wunused-variable]
22 | int i, j, n, m, h, t, st, dr, a;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !