Borderou de evaluare (job #668055)

Utilizator avatar iuli571 Dorobat Iulian iuli571 IP ascuns
Problemă Gondola (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 oct. 2022 13:36:55 Scor 78

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 16 | if(i%3==1) | ^~ main.cpp:18:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 18 | if(i%3==2) | ^~ main.cpp:9:32: warning: unused variable 'd1' [-Wunused-variable] 9 | int n,i,a,b,s=0,dmax,d = 0,d1,d2 = 0,maximdif=0,d3; | ^~ main.cpp:9:53: warning: unused variable 'd3' [-Wunused-variable] 9 | int n,i,a,b,s=0,dmax,d = 0,d1,d2 = 0,maximdif=0,d3; | ^~ main.cpp:34:25: warning: 'dmax' may be used uninitialized in this function [-Wmaybe-uninitialized] 34 | out<<s<<'\n'<<dmax<<'\n'<<maximdif; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb a) OK; b) linie incorecta; c) linie incorecta 4
2 1 ms 114 kb a) OK; b) linie incorecta; c) linie incorecta 4
3 1 ms 114 kb a) OK; b) linie incorecta; c) linie incorecta 4
4 1 ms 241 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 118 kb OK 10
9 31 ms 118 kb OK 10
10 310 ms 118 kb a) linie incorecta; b) OK; c) OK 6
Punctaj total 78