Borderou de evaluare (job #3184364)

Utilizator DRGmenMarcu Dragos-Ionut DRGmen Data 15 decembrie 2023 17:30:08
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:99:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | for (int c = 0; c < s_input.length(); c++) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:100:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | if (s_input[c] == ' ' || c == s_input.length() - 1) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:101:64: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 101 | string s_nr = s_input.substr(lc, ( (lc==0 && c == s_input.length() - 1) ? c+1 : c)); | ~~^~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbS-a respectat legea!10
20ms303kbS-a respectat legea!10
30ms303kbS-a respectat legea!10
40ms303kbS-a respectat legea!10
51ms557kbS-a respectat legea!10
61ms557kbS-a respectat legea!10
71ms557kbS-a respectat legea!10
81ms557kbS-a respectat legea!10
90ms303kbS-a respectat legea!10
100ms557kbS-a respectat legea!10
Punctaj total100

Ceva nu functioneaza?