Borderou de evaluare (job #3228983)

Utilizator swebypepe lepe sweby Data 12 mai 2024 19:06:59
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 45

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:75:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 75 | else | ^~~~ main.cpp:77:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 77 | return 0; | ^~~~~~ main.cpp:72:18: warning: 'hFin' may be used uninitialized [-Wmaybe-uninitialized] 72 | cout << hFin<< " "; | ^~~ main.cpp:17:78: note: 'hFin' was declared here 17 | int n , i ,vol,hcur = 0,cul, s = 0, d = 0,parte,parteStart,parteFin,hStart,hFin; | ^~~~ main.cpp:66:21: warning: 'hStart' may be used uninitialized [-Wmaybe-uninitialized] 66 | cout << hStart << " "; | ^~~ main.cpp:17:71: note: 'hStart' was declared here 17 | int n , i ,vol,hcur = 0,cul, s = 0, d = 0,parte,parteStart,parteFin,hStart,hFin; | ^~~~~~ main.cpp:73:3: warning: 'parteFin' may be used uninitialized [-Wmaybe-uninitialized] 73 | if(parteFin == 1) | ^~ main.cpp:17:62: note: 'parteFin' was declared here 17 | int n , i ,vol,hcur = 0,cul, s = 0, d = 0,parte,parteStart,parteFin,hStart,hFin; | ^~~~~~~~ main.cpp:67:3: warning: 'parteStart' may be used uninitialized [-Wmaybe-uninitialized] 67 | if(parteStart == - 1) | ^~ main.cpp:17:51: note: 'parteStart' was declared here 17 | int n , i ,vol,hcur = 0,cul, s = 0, d = 0,parte,parteStart,parteFin,hStart,hFin; | ^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms1081kbRaspuns gresit0
20ms303kbOK5
35ms1081kbRaspuns gresit0
45ms1081kbRaspuns gresit0
50ms303kbPrimul numar corect1
60ms303kbPrimul numar corect1
70ms303kbOK5
80ms303kbPrimul numar corect1
92ms557kbPrimul numar corect1
102ms557kbOK5
110ms303kbOK5
125ms819kbRaspuns gresit0
134ms819kbRaspuns gresit0
140ms303kbPrimul numar corect1
150ms303kbOK5
160ms303kbOK5
176ms1081kbRaspuns gresit0
185ms1081kbRaspuns gresit0
194ms1081kbOK5
200ms303kbOK5
Punctaj total45

Ceva nu functioneaza?