Borderou de evaluare (job #2272895)

Utilizator Bodo171Bogdan Pop Bodo171 Data 30 octombrie 2018 19:20:44
Problema Password2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'bool comp(char, char)': main.cpp:23:29: warning: array subscript has type 'char' [-Wchar-subscripts] for(int idx=1;idx<=rem[b];idx++) ^ main.cpp:25:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (ask(aux)==aux.size()); ~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:35:15: warning: array subscript has type 'char' [-Wchar-subscripts] rem[ch]=ask(s); ^ main.cpp:46:17: warning: array subscript has type 'char' [-Wchar-subscripts] rem[v[1]]--; ^ main.cpp:48:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<nr;i++) ^~~ main.cpp:50:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' nr--; ^~ main.cpp:51:18: warning: array subscript has type 'char' [-Wchar-subscripts] if(rem[ch]) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
16ms192kbOK!510
28ms188kbOK!5
34ms192kbWrong answer00
46ms131kbWrong answer0
54ms188kbWrong answer0
69ms192kbWrong answer0
775ms131kbWrong answer00
8130ms323kbWrong answer0
9149ms131kbWrong answer0
10209ms196kbWrong answer0
11322ms131kbWrong answer00
12260ms131kbWrong answer0
13311ms131kbWrong answer0
14404ms188kbWrong answer0
15378ms323kbWrong answer0
16382ms319kbWrong answer0
17333ms192kbWrong answer0
18370ms188kbWrong answer0
19336ms131kbWrong answer0
20292ms192kbWrong answer0
21397ms131kbWrong answer0
22414ms192kbWrong answer0
23582ms188kbWrong answer00
24527ms131kbWrong answer0
25570ms212kbWrong answer0
26512ms208kbWrong answer0
27576ms192kbWrong answer0
28630ms319kbWrong answer0
29577ms192kbWrong answer0
30576ms131kbWrong answer0
Punctaj total10

Ceva nu functioneaza?