Borderou de evaluare (job #597030)

Utilizator avatar dava Forascu David dava IP ascuns
Problemă Cifre 3 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 27 apr. 2021 13:23:52 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:96:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 96 | if(f[i]!=0 && g[i]==0 || f[i]==0 && g[i]!=0) | ~~~~~~~~^~~~~~~~~~ main.cpp:101:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 101 | if(f[i]!=0 && g[i]==0 || g[i]!=0 && f[i]==0) | ~~~~~~~~^~~~~~~~~~ main.cpp:106:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 106 | if(f[i]==0 && g[i]!=0 || g[i]==0 && f[i]!=0) | ~~~~~~~~^~~~~~~~~~ main.cpp:110:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 110 | if(f[i]!=0 && g[i]==0 || g[i]!=0 && f[i]==0) | ~~~~~~~~^~~~~~~~~~ main.cpp:27:86: warning: unused variable 'flag2' [-Wunused-variable] 27 | int a, a1, a2, b, b1, b2, i, c, c1, c2, c3, d, d1, d2, d3, ccd, flag=0, flag1=0, flag2=0; | ^~~~~ main.cpp:81:32: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized] 81 | if(c1==(c3-ccd) || d1==(d3-ccd)) | ~~~^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb Incorect 0
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb Incorect 0
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb Incorect 0
8 1 ms 262 kb OK 10
9 1 ms 262 kb Incorect 0
10 1 ms 262 kb OK 10
Punctaj total 40