Borderou de evaluare (job #736841)

Utilizator avatar Sebi_Ripa Sebastian Ripa Sebi_Ripa IP ascuns
Problemă Permcif Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 oct. 2023 14:17:52 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:23:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 23 | for(int i = 0; i < b.size()-1; i++) { | ~~^~~~~~~~~~~~ main.cpp:29:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 29 | for(i = 0; i < a.size(); i++, offset++) { | ~~^~~~~~~~~~ main.cpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 30 | if(offset == a.size()) | ~~~~~~~^~~~~~~~~~~ main.cpp:35:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 35 | if(i != a.size()) | ~~^~~~~~~~~~~ main.cpp:30:16: warning: 'offset' may be used uninitialized [-Wmaybe-uninitialized] 30 | if(offset == a.size()) | ^~~~~~ main.cpp:22:13: note: 'offset' was declared here 22 | int offset; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 249 kb Killed by Signal 11 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb OK 20
Punctaj total 20