Borderou de evaluare (job #2562338)

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

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
12ms131kbOK10
29ms262kbIncorect0
38ms262kbOK10
45ms393kbIncorect0
53ms262kbOK10
63ms262kbIncorect0
72ms131kbOK10
832ms393kbOK10
98ms262kbOK10
1021ms393kbIncorect0
Punctaj total60

Ceva nu functioneaza?