Borderou de evaluare (job #2418239)

Utilizator Briana_NeaguNeagu Briana Briana_Neagu Data 4 mai 2019 14:08:17
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'bool C()': main.cpp:41:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ok==false) ^~ main.cpp:43:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' q++; ^ main.cpp:46:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (sir[q]='1' && sir [q+1]=='2') ^ main.cpp: In function 'int main()': main.cpp:62:10: warning: unused variable 'q' [-Wunused-variable] { int q=0; ^ main.cpp:60:9: warning: unused variable 'ok' [-Wunused-variable] bool ok; ^~ main.cpp: In function 'bool C()': main.cpp:53:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
23ms131kbRaspuns gresit!0
32ms131kbRaspuns gresit!0
43ms131kbRaspuns gresit!0
52ms131kbRaspuns gresit!0
62ms131kbRaspuns gresit!0
72ms131kbRaspuns gresit!0
83ms131kbRaspuns gresit!0
94ms131kbRaspuns gresit!0
106ms204kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?