Pagini recente » Monitorul de evaluare | Cod sursa (job #3239031) | Borderou de evaluare (job #1251661) | Cod sursa (job #2016608) | Borderou de evaluare (job #2635218)
Borderou de evaluare (job #2635218)
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 |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 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 | OK | 10 |
| 8 | 3ms | 262kb | OK | 10 |
| 9 | 3ms | 262kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 100 |