Borderou de evaluare (job #2562308)

Utilizator XXMihaiXX969Gherghinescu Mihai Andrei XXMihaiXX969 Data 29 februarie 2020 13:25:02
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

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:51: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:80:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 0; i < poz - 1; i++) ^~~ main.cpp:89: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
13ms131kbOK10
220ms393kbIncorect0
324ms393kbKilled by Signal 110
46ms393kbIncorect0
53ms262kbOK10
64ms262kbIncorect0
73ms131kbOK10
840ms393kbIncorect0
914ms262kbIncorect0
103ms262kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?