Borderou de evaluare (job #3272875)

Utilizator LucaMirsolea14Luca Mirsolea LucaMirsolea14 Data 31 ianuarie 2025 11:39:16
Problema Turnuri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void Make_max_st()': main.cpp:23:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 23 | while(vf>0&&stiva[vf].h<=v[i].h&&v[i].f>=stiva[vf].f) | ^~~~~ main.cpp:25:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 25 | if(vf==0) | ^~ main.cpp:17:11: warning: unused variable 'j' [-Wunused-variable] 17 | int i,j,vf=0; | ^ main.cpp:18:10: warning: unused variable 'sh' [-Wunused-variable] 18 | Turn sh[1002],sf[1002],stiva[1002]; | ^~ main.cpp:18:19: warning: unused variable 'sf' [-Wunused-variable] 18 | Turn sh[1002],sf[1002],stiva[1002]; | ^~ main.cpp: In function 'void Make_max_dr()': main.cpp:52:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 52 | while(vf>0&&stiva[vf].h<=v[i].h&&v[i].f>=stiva[vf].f) | ^~~~~ main.cpp:54:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 54 | if(vf==0) | ^~ main.cpp:45:11: warning: unused variable 'j' [-Wunused-variable] 45 | int i,j,vf=0,st,dr; | ^ main.cpp:45:18: warning: variable 'st' set but not used [-Wunused-but-set-variable] 45 | int i,j,vf=0,st,dr; | ^~ main.cpp:45:21: warning: variable 'dr' set but not used [-Wunused-but-set-variable] 45 | int i,j,vf=0,st,dr; | ^~ main.cpp:46:10: warning: unused variable 'sh' [-Wunused-variable] 46 | Turn sh[1002],sf[1002],stiva[1002]; | ^~ main.cpp:46:19: warning: unused variable 'sf' [-Wunused-variable] 46 | Turn sh[1002],sf[1002],stiva[1002]; | ^~ main.cpp: In function 'int main()': main.cpp:75:7: warning: unused variable 'j' [-Wunused-variable] 75 | int i,j; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbIncorect00
20ms303kbIncorect00
30ms303kbIncorect00
45ms413kbKilled by Signal 1100
58ms413kbKilled by Signal 110
68ms417kbKilled by Signal 1100
75ms413kbKilled by Signal 110
85ms413kbKilled by Signal 1100
95ms409kbKilled by Signal 110
108ms409kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?