Pagini recente » Rating Dragutoiu Alex (AlexDragutoiu) | Borderou de evaluare (job #2589842) | Borderou de evaluare (job #1833351) | Cod sursa (job #215580) | Borderou de evaluare (job #2562253)
Borderou de evaluare (job #2562253)
Raport evaluator
Compilare:
main.cpp: In function 'int calcsimilitudine(char*, char*)':
main.cpp:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i <= strlen(x); i++)
~~^~~~~~~~~~~~
main.cpp:22:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j <= strlen(y); j++)
~~^~~~~~~~~~~~
main.cpp:27:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(x); i++)
~~^~~~~~~~~~~
main.cpp:28:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(y); j++)
~~^~~~~~~~~~~
main.cpp:27:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 0; i < strlen(x); i++)
^~~
main.cpp:34:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
cnt = strlen(x) + strlen(y) - 2 * lcs[strlen(x)][strlen(y)];
^~~
main.cpp: In function 'void bfs(int)':
main.cpp:55:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[nod].size(); i++)
~~^~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | Incorect | 0 |
| 2 | 9ms | 262kb | Incorect | 0 |
| 3 | 9ms | 262kb | Incorect | 0 |
| 4 | 4ms | 393kb | Incorect | 0 |
| 5 | 3ms | 262kb | Incorect | 0 |
| 6 | 3ms | 262kb | Incorect | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 34ms | 393kb | Incorect | 0 |
| 9 | 9ms | 262kb | Incorect | 0 |
| 10 | 23ms | 393kb | Incorect | 0 |
| Punctaj total | 0 |