Borderou de evaluare (job #3272879)

Utilizator LucaMirsolea14Luca Mirsolea LucaMirsolea14 Data 31 ianuarie 2025 12:05:54
Problema Turnuri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void Make_max_st()': main.cpp:17:11: warning: unused variable 'j' [-Wunused-variable] 17 | int i,j,vf=0; | ^ main.cpp: In function 'void Make_max_dr()': main.cpp:58:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 58 | while((vf>1&&stiva[vf].h<=v[i].h&&stiva[vf-1].f>=stiva[vf].f)||(vf>0&&v[i].h>=stiva[vf].h&&v[i].f>=stiva[vf].f)) | ^~~~~ main.cpp:60:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 60 | if(vf==0){ | ^~ main.cpp:51:11: warning: unused variable 'j' [-Wunused-variable] 51 | int i,j,vf=0,st,dr; | ^ main.cpp:51:18: warning: variable 'st' set but not used [-Wunused-but-set-variable] 51 | int i,j,vf=0,st,dr; | ^~ main.cpp:51:21: warning: variable 'dr' set but not used [-Wunused-but-set-variable] 51 | int i,j,vf=0,st,dr; | ^~ main.cpp: In function 'int main()': main.cpp:85:7: warning: unused variable 'j' [-Wunused-variable] 85 | int i,j; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbIncorect00
30ms303kbIncorect00
49ms1896kbIncorect00
59ms1605kbIncorect0
69ms1871kbIncorect00
714ms2486kbIncorect0
894ms15859kbIncorect00
9126ms20639kbIncorect0
10137ms22618kbIncorect0
Punctaj total10

Ceva nu functioneaza?