Borderou de evaluare (job #2778222)

Utilizator caesar2001Stoica Alexandru caesar2001 Data 30 septembrie 2021 17:11:21
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'long long int count(const string&)': main.cpp:9:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 9 | for(int index = 0; index < word.size(); index ++) { | ~~~~~~^~~~~~~~~~~~~ main.cpp:16:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 16 | while(newLeft - 1 >= 0 && newRight + 1 < word.size() && word[newLeft - 1] == word[newRight + 1]) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms188kbOK10
21ms184kbOK10
31ms184kbOK10
479ms13037kbOK10
524ms2560kbOK10
630ms4829kbOK10
758ms5824kbOK10
883ms8683kbOK10
950ms10272kbOK10
10106ms11403kbTime limit exceeded0
Punctaj total90

Ceva nu functioneaza?