Borderou de evaluare (job #2955376)

Utilizator YosifIosif Andrei Stefan Yosif Data 16 decembrie 2022 21:21:56
Problema Nc Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool let(char)': main.cpp:9:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 9 | return 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z'; | ~~~~~~~~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 23 | while (i < s.length() && s[i] == ' ') | ~~^~~~~~~~~~~~ main.cpp:28:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | while (i < s.length()) | ~~^~~~~~~~~~~~ main.cpp:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | while (i < s.length() && let(s[i])) | ~~^~~~~~~~~~~~ main.cpp:35:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | while (i < s.length() && s[i] == ' ') | ~~^~~~~~~~~~~~ main.cpp:41:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 41 | while (i < s.length() && !let(s[i])) | ~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect0
20ms184kbIncorect0
30ms184kbIncorect0
40ms184kbIncorect0
50ms184kbIncorect0
60ms184kbIncorect0
70ms184kbIncorect0
80ms184kbIncorect0
92ms315kbIncorect0
105ms315kbIncorect0
Punctaj total0

Ceva nu functioneaza?