Borderou de evaluare (job #2272890)

Utilizator Bodo171Bogdan Pop Bodo171 Data 30 octombrie 2018 19:16:43
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:21:29: warning: array subscript has type 'char' [-Wchar-subscripts] for(int idx=1;idx<=rem[b];idx++) ^ main.cpp:23:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (ask(aux)==aux.size()); ~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:33:15: warning: array subscript has type 'char' [-Wchar-subscripts] rem[ch]=ask(s); ^ main.cpp:44:17: warning: array subscript has type 'char' [-Wchar-subscripts] rem[v[1]]--; ^ main.cpp:46:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<nr;i++) ^~~ main.cpp:48:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' nr--; ^~ main.cpp:49:18: warning: array subscript has type 'char' [-Wchar-subscripts] if(rem[ch]) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms192kbOK!510
28ms131kbOK!5
35ms196kbWrong answer00
47ms131kbWrong answer0
54ms131kbWrong answer0
68ms131kbWrong answer0
784ms200kbWrong answer00
8120ms323kbWrong answer0
9162ms192kbWrong answer0
10199ms323kbWrong answer0
11312ms200kbWrong answer00
12258ms131kbWrong answer0
13323ms200kbWrong answer0
14396ms131kbWrong answer0
15369ms192kbWrong answer0
16369ms204kbWrong answer0
17328ms204kbWrong answer0
18362ms188kbWrong answer0
19331ms131kbWrong answer0
20288ms319kbWrong answer0
21373ms262kbWrong answer0
22397ms262kbWrong answer0
23573ms131kbWrong answer00
24514ms319kbWrong answer0
25583ms196kbWrong answer0
26497ms188kbWrong answer0
27571ms131kbWrong answer0
28627ms188kbWrong answer0
29579ms131kbWrong answer0
30573ms217kbWrong answer0
Punctaj total10

Ceva nu functioneaza?