Pagini recente » Borderou de evaluare (job #1298529) | Borderou de evaluare (job #1668440) | Borderou de evaluare (job #2807947) | Borderou de evaluare (job #422986) | Borderou de evaluare (job #2562447)
Borderou de evaluare (job #2562447)
Raport evaluator
Compilare:
main.cpp: In function 'int calcsimilitudine(char*, char*)':
main.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i <= strlen(x); i++)
~~^~~~~~~~~~~~
main.cpp:25:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j <= strlen(y); j++)
~~^~~~~~~~~~~~
main.cpp:30:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(x); i++)
~~^~~~~~~~~~~
main.cpp:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(y); j++)
~~^~~~~~~~~~~
main.cpp:30:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 0; i < strlen(x); i++)
^~~
main.cpp:37: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:50: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:71:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(s[poz][strlen(s[poz]) - 1] == ',' || s[poz][strlen(s[poz]) - 1] == ';' || s[poz][strlen(s[poz]) - 1] == ':' || s[poz][strlen(s[poz]) - 1] == '.' || s[poz][strlen(s[poz]) - 1] == '!' || s[poz][strlen(s[poz]) - 1] == '?' || s[poz][strlen(s[poz]) - 1] == '-')
^~~~~
main.cpp:74:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
int cnt = 0;
^~~
main.cpp:79:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(cpy2); i++)
~~^~~~~~~~~~~~~~
main.cpp:93:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(cpy); j++)
~~^~~~~~~~~~~~~
main.cpp:133:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < strlen(cpy); j++)
~~^~~~~~~~~~~~~
main.cpp:149:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 0; i < poz - 1; i++)
^~~
main.cpp:157: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 | 3ms | 131kb | OK | 10 |
2 | 9ms | 262kb | Incorect | 0 |
3 | 8ms | 262kb | OK | 10 |
4 | 5ms | 262kb | OK | 10 |
5 | 3ms | 262kb | OK | 10 |
6 | 3ms | 262kb | Incorect | 0 |
7 | 2ms | 131kb | OK | 10 |
8 | 33ms | 393kb | OK | 10 |
9 | 9ms | 262kb | OK | 10 |
10 | 23ms | 393kb | Incorect | 0 |
Punctaj total | 70 |