Borderou de evaluare (job #2826179)

Utilizator PalcPalcu Stefan Palc Data 5 ianuarie 2022 11:18:26
Problema Tigri Status done
Runda Algoritmiada 2022 Runda 1 Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'long long int TransInNr(std::string)': main.cpp:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 17 | for (int i = 0; i < x.length(); i++) | ~~^~~~~~~~~~~~ main.cpp: In function 'bool EsteInt(std::string)': main.cpp:31:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 31 | if (x[0] == '-') | ^ main.cpp: In function 'int main()': main.cpp:53:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 53 | if (c.length() == gigel1) | ~~~~~~~~~~~^~~~~~~~~ main.cpp:62:33: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 62 | else if (c.length() < gigel1) | ~~~~~~~~~~~^~~~~~~~ main.cpp:77:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 77 | if (b.length() == gigel1) | ~~~~~~~~~~~^~~~~~~~~ main.cpp:86:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 86 | if (c.length() == gigel2) | ~~~~~~~~~~~^~~~~~~~~ main.cpp:95:33: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 95 | else if (b.length() < gigel1 && c.length() < gigel2) | ~~~~~~~~~~~^~~~~~~~ main.cpp:95:56: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 95 | else if (b.length() < gigel1 && c.length() < gigel2) | ~~~~~~~~~~~^~~~~~~~ main.cpp:117:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 117 | if (b.length() == gigel1) | ~~~~~~~~~~~^~~~~~~~~ main.cpp:126:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 126 | if (c.length() == gigel2) | ~~~~~~~~~~~^~~~~~~~~ main.cpp:135:33: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 135 | else if (b.length() < gigel1 && c.length() < gigel2) | ~~~~~~~~~~~^~~~~~~~ main.cpp:135:56: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 135 | else if (b.length() < gigel1 && c.length() < gigel2) | ~~~~~~~~~~~^~~~~~~~ main.cpp:148:24: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized] 148 | S += l * t; | ~~^~~
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbIncorect0
41ms184kbIncorect0
52ms184kbIncorect0
62ms184kbOK10
72ms184kbIncorect0
816ms352kbIncorect0
916ms352kbIncorect0
10175ms1654kbIncorect0
Punctaj total30

Ceva nu functioneaza?