Borderou de evaluare (job #2551271)

Utilizator cristiemanuelstroe cristian emanuel cristiemanuel Data 19 februarie 2020 18:27:57
Problema Pluton Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void id_pluton(int)': main.cpp:27:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i<10;i++) ^~~ main.cpp:29:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' Adunat[s][cate[s]]=p; ^~~~~~ main.cpp: In function 'int main()': main.cpp:51:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(cnt<cate[i]) ^~ main.cpp:53:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(cnt==cate[i]) ^~ main.cpp:54:16: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] k++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1048kbNumar incorect de plutoane!00
24ms1048kbNumar incorect de plutoane!0
32ms131kbNumar gresit de soldati!3
42ms131kbNumar gresit de soldati!3
54ms131kbNumar gresit de soldati!3
66ms2097kbNumar incorect de plutoane!00
78ms2490kbNumar incorect de plutoane!0
87ms2490kbNumar incorect de plutoane!0
97ms1703kbNumar incorect de plutoane!0
103ms393kbNumar incorect de plutoane!0
Punctaj total0

Ceva nu functioneaza?