Borderou de evaluare (job #2790471)

Utilizator LukyenDracea Lucian Lukyen Data 29 octombrie 2021 02:05:08
Problema Risipa Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int rest_mod_3()': main.cpp:62:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for (i = 0; i < suma.length(); i++) | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'void rest0()': main.cpp:78:10: warning: statement has no effect [-Wunused-value] 78 | for (i; i < suma.length(); i++) | ^ main.cpp:78:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 78 | for (i; i < suma.length(); i++) | ~~^~~~~~~~~~~~~~~ main.cpp: In function 'void rest1()': main.cpp:94:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 94 | if (suma.length() <= nr_cifa) | ~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:90:9: warning: unused variable 'cif' [-Wunused-variable] 90 | int cif, rest, sum; | ^~~ main.cpp: In function 'void rest2()': main.cpp:134:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 134 | if (suma.length() <= nr_cifb) | ~~~~~~~~~~~~~~^~~~~~~~~~ main.cpp:130:9: warning: unused variable 'cif' [-Wunused-variable] 130 | int cif, rest, sum; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms335kbKilled by Signal 110
21ms184kbKilled by Signal 110
35ms307kbKilled by Signal 110
48ms307kbKilled by Signal 110
54ms307kbKilled by Signal 110
612ms307kbIncorect0
75ms307kbKilled by Signal 110
83ms307kbKilled by Signal 110
95ms307kbKilled by Signal 110
105ms311kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?