Borderou de evaluare (job #3257919)
Utilizator | Data | 19 noiembrie 2024 22:17:47 | |
---|---|---|---|
Problema | Iv | 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:24:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int j1 = 0; j1 + i1 <= mij && j1 <= b.size(); j1++) { ///luam ca pe cub
| ~~~^~~~~~~~~~~
main.cpp:27:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i2 = 0; i2 <= a.size() - i1; i2++) {
| ~~~^~~~~~~~~~~~~~~~
main.cpp:29:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if(j2 + j1 > b.size() || j2 < 0)
| ~~~~~~~~^~~~~~~~~~
main.cpp:53:8: error: redeclaration of 'll ans'
53 | ll ans = 0;
| ^~~
main.cpp:21:8: note: 'll ans' previously declared here
21 | ll ans = 0;
| ^~~
main.cpp:56:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | if(j1 > b.size()) ///o sa mai scada
| ~~~^~~~~~~~~~
main.cpp:59:13: warning: unused variable 'j2' [-Wunused-variable]
59 | int j2 = b.size() - j1;
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !