Pagini recente » Cod sursa (job #381920) | Cod sursa (job #684236) | Cod sursa (job #2803797) | Monitorul de evaluare | Borderou de evaluare (job #2635057)
Borderou de evaluare (job #2635057)
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 |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 3ms | 262kb | OK | 10 |
| 7 | 3ms | 262kb | Killed by Signal 11 | 0 |
| 8 | 2ms | 262kb | OK | 10 |
| 9 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 80 |