Borderou de evaluare (job #2635218)

Utilizator mex7Alexandru Valentin mex7 Data 13 iulie 2020 17:51:46
Problema Text4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool toWords(std::__cxx11::string, int)': main.cpp:20: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:52:75: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (currentLength + paragraph[i][j].size() + j - startingWord <= lineSize) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:51:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int j = 1; j < (int) paragraph[i].size(); j++) ^~~ main.cpp:80: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:80: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
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
63ms262kbOK10
73ms262kbOK10
83ms262kbOK10
93ms262kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?