Borderou de evaluare (job #2274163)

Utilizator Bodo171Bogdan Pop Bodo171 Data 1 noiembrie 2018 14:53:17
Problema Password2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool comp(char, char)': main.cpp:52:29: warning: array subscript has type 'char' [-Wchar-subscripts] for(int idx=1;idx<=rem[b];idx++) ^ main.cpp:56:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (ask(aux)==aux.size()); ~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:76:15: warning: array subscript has type 'char' [-Wchar-subscripts] rem[ch]=ask(s); ^ main.cpp:98:17: warning: array subscript has type 'char' [-Wchar-subscripts] rem[v[1]]--; ^ main.cpp:102:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<nr;i++) ^~~ main.cpp:106:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' nr--; ^~ main.cpp:108:18: warning: array subscript has type 'char' [-Wchar-subscripts] if(rem[ch]) ^ main.cpp:134:9: warning: unused variable 'ok' [-Wunused-variable] int ok=ask(pref); ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
16ms196kbOK!510
28ms192kbOK!5
35ms196kbOK!520
48ms188kbOK!5
59ms192kbOK!5
610ms188kbOK!5
7132ms192kbOK!520
8171ms131kbOK!5
9212ms196kbOK!5
10300ms192kbOK!5
11434ms188kbOK!230
12409ms208kbOK!2
13461ms204kbOK!2
14457ms192kbOK!2
15484ms204kbOK!2
16494ms131kbOK!2
17489ms319kbOK!3
18502ms262kbOK!3
19509ms131kbOK!3
20490ms188kbOK!3
21523ms196kbOK!3
22492ms188kbOK!3
23815ms344kbOK!220
24850ms339kbOK!2
25876ms208kbOK!2
26891ms212kbOK!2
27874ms221kbOK!3
28858ms225kbOK!3
29886ms192kbOK!3
30840ms212kbOK!3
Punctaj total100

Ceva nu functioneaza?