Borderou de evaluare (job #2635057)

Utilizator mex7Alexandru Valentin mex7 Data 13 iulie 2020 09:14:36
Problema Text4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void toWords(std::__cxx11::string, int)': main.cpp:19:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); i++) ~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:44:75: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (currentLength + paragraph[i][j].size() + j - startingWord <= lineSize) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:43:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int j = 1; j < (int) paragraph[i].size(); j++) ^~~ main.cpp:72:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int j = startingWord; j < paragraph[i].size(); j++) //outputs the remaining words; ^~~ main.cpp:72:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = startingWord; j < paragraph[i].size(); j++) //outputs the remaining words; ~~^~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
63ms262kbOK10
73ms262kbKilled by Signal 110
82ms262kbOK10
93ms131kbKilled by Signal 110
102ms131kbOK10
Punctaj total80

Ceva nu functioneaza?