Borderou de evaluare (job #2408455)

Utilizator tavi255Varzaru Octavian Stefan tavi255 Data 17 aprilie 2019 23:12:39
Problema Reteta Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=1;i<=m;i++) ^~~ main.cpp:31:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' float Min=numeric_limits<float>::max(); ^~~~~ main.cpp:37:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if((k>>i)&1) ^ main.cpp:36:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i<m && ok==1;i++) ^~~ main.cpp:46:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(ok==1 && Min>summ && u==((1<<n)-1)) ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
43ms131kbOK10
53ms131kbOK10
63ms131kbOK10
74ms131kbOK10
84ms131kbOK10
93ms131kbOK10
105ms131kbOK10
Punctaj total100

Ceva nu functioneaza?