Borderou de evaluare (job #597015)

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 12:04:11 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:89:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 89 | if(f[i]!=0 && g[i]==0 || f[i]==0 && g[i]!=0) | ~~~~~~~~^~~~~~~~~~ main.cpp:94:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 94 | if(f[i]!=0 && g[i]==0 || g[i]!=0 && f[i]==0) | ~~~~~~~~^~~~~~~~~~ main.cpp:99:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 99 | if(f[i]==0 && g[i]!=0 || g[i]==0 && f[i]!=0) | ~~~~~~~~^~~~~~~~~~ main.cpp:103:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 103 | if(f[i]!=0 && g[i]==0 || g[i]!=0 && f[i]==0) | ~~~~~~~~^~~~~~~~~~ main.cpp:27:45: warning: variable 'c3' set but not used [-Wunused-but-set-variable] 27 | int a, a1, a2, b, b1, b2, i, c, c1, c2, c3, d, d1, d2, d3, ccd, flag=0, flag1=0; | ^~ main.cpp:27:60: warning: variable 'd3' set but not used [-Wunused-but-set-variable] 27 | int a, a1, a2, b, b1, b2, i, c, c1, c2, c3, d, d1, d2, d3, ccd, flag=0, flag1=0; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb Incorect 0
9 1 ms 262 kb OK 10
10 2 ms 262 kb Incorect 0
Punctaj total 80