Borderou de evaluare (job #2273126)

Utilizator Bodo171Bogdan Pop Bodo171 Data 31 octombrie 2018 08:25:03
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
16ms131kbOK!510
28ms188kbOK!5
35ms196kbWrong answer00
46ms192kbWrong answer0
54ms131kbWrong answer0
69ms188kbWrong answer0
777ms200kbWrong answer00
8128ms131kbWrong answer0
9147ms188kbWrong answer0
10211ms192kbWrong answer0
11319ms192kbWrong answer00
12263ms192kbWrong answer0
13309ms262kbWrong answer0
14386ms131kbWrong answer0
15366ms262kbWrong answer0
16366ms188kbWrong answer0
17341ms131kbWrong answer0
18350ms192kbWrong answer0
19339ms188kbWrong answer0
20270ms323kbWrong answer0
21381ms135kbWrong answer0
22403ms196kbWrong answer0
23580ms131kbWrong answer00
24528ms131kbWrong answer0
25587ms188kbWrong answer0
26502ms188kbWrong answer0
27577ms131kbWrong answer0
28635ms192kbWrong answer0
29582ms192kbWrong answer0
30579ms192kbWrong answer0
Punctaj total10

Ceva nu functioneaza?