Borderou de evaluare (job #2360297)

Utilizator TudorCaloianCaloian Tudor-Ioan TudorCaloian Data 1 martie 2019 17:54:58
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'bool L(char*, char*)': main.cpp:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i <= max(strlen(a), strlen(b)); i++) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i <= strlen(a); i++) ~~^~~~~~~~~~~~ main.cpp:21:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 1; j <= strlen(b); j++) ~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:43:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(fin >> s[++n]); ^~~~~ main.cpp:45:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' for(int i = 1; i <= n; i++) ^~~ main.cpp:76:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 2; i <= t; i++) ^~~ main.cpp:80:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' fout << ans; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms262kbIncorect0
210ms524kbIncorect0
312ms524kbIncorect0
45ms393kbIncorect0
53ms262kbOK10
63ms262kbIncorect0
72ms262kbOK10
821ms524kbIncorect0
98ms393kbIncorect0
10101ms1179kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?