Borderou de evaluare (job #2272949)

Utilizator Bodo171Bogdan Pop Bodo171 Data 30 octombrie 2018 19:50:19
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:25:29: warning: array subscript has type 'char' [-Wchar-subscripts] for(int idx=1;idx<=rem[b];idx++) ^ main.cpp:27:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (ask(aux)==aux.size()); ~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:37:15: warning: array subscript has type 'char' [-Wchar-subscripts] rem[ch]=ask(s); ^ main.cpp:48:17: warning: array subscript has type 'char' [-Wchar-subscripts] rem[v[1]]--; ^ main.cpp:50:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<nr;i++) ^~~ main.cpp:52:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' nr--; ^~ main.cpp:53:18: warning: array subscript has type 'char' [-Wchar-subscripts] if(rem[ch]) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
15ms188kbOK!510
28ms188kbOK!5
34ms192kbWrong answer00
47ms192kbWrong answer0
54ms131kbWrong answer0
69ms131kbWrong answer0
786ms131kbWrong answer00
8125ms196kbWrong answer0
9167ms262kbWrong answer0
10205ms192kbWrong answer0
11316ms131kbWrong answer00
12260ms188kbWrong answer0
13331ms327kbWrong answer0
14400ms192kbWrong answer0
15377ms131kbWrong answer0
16378ms188kbWrong answer0
17349ms188kbWrong answer0
18359ms208kbWrong answer0
19347ms262kbWrong answer0
20279ms319kbWrong answer0
21392ms192kbWrong answer0
22417ms131kbWrong answer0
23589ms192kbWrong answer00
24527ms192kbWrong answer0
25587ms319kbWrong answer0
26502ms323kbWrong answer0
27575ms212kbWrong answer0
28648ms319kbWrong answer0
29568ms131kbWrong answer0
30598ms188kbWrong answer0
Punctaj total10

Ceva nu functioneaza?