Pagini recente » Borderou de evaluare (job #2902470) | Borderou de evaluare (job #118221) | Borderou de evaluare (job #809196) | Borderou de evaluare (job #2332308) | Borderou de evaluare (job #2562302)
Borderou de evaluare (job #2562302)
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 dfs(int)':
main.cpp:47:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[x].size(); i++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:76:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 0; i < poz - 1; i++)
^~~
main.cpp:84:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
dfs(0);
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 9ms | 262kb | Incorect | 0 |
3 | 8ms | 262kb | Incorect | 0 |
4 | 5ms | 393kb | Incorect | 0 |
5 | 3ms | 262kb | OK | 10 |
6 | 3ms | 262kb | Incorect | 0 |
7 | 2ms | 131kb | OK | 10 |
8 | 32ms | 393kb | OK | 10 |
9 | 9ms | 262kb | OK | 10 |
10 | 22ms | 393kb | Incorect | 0 |
Punctaj total | 50 |