Borderou de evaluare (job #666068)

Utilizator avatar bogdi757 Zaharia Bogdan Gabriel bogdi757 IP ascuns
Problemă Cifre (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 2 oct. 2022 14:01:42 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:13: warning: self-comparison always evaluates to true [-Wtautological-compare] 18 | if(u==u) | ~^~~ main.cpp:22:14: warning: self-comparison always evaluates to true [-Wtautological-compare] 22 | if(u2==u2) | ~~^~~~ main.cpp:31:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 31 | else | ^~~~ main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 33 | b=y; | ^ main.cpp:38:14: warning: self-comparison always evaluates to true [-Wtautological-compare] 38 | if(u3==u3) | ~~^~~~ main.cpp:42:14: warning: self-comparison always evaluates to true [-Wtautological-compare] 42 | if(u4==u4) | ~~^~~~ main.cpp:51:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 51 | else | ^~~~ main.cpp:53:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 53 | d=x; | ^ main.cpp:58:14: warning: self-comparison always evaluates to true [-Wtautological-compare] 58 | if(u5==u5) | ~~^~~~ main.cpp:62:14: warning: self-comparison always evaluates to true [-Wtautological-compare] 62 | if(u6==u6) | ~~^~~~ main.cpp:71:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 71 | else | ^~~~ main.cpp:79:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 79 | return 0; | ^~~~~~ main.cpp:11:19: warning: unused variable 'r' [-Wunused-variable] 11 | int a,b,c=0,u,r,z,u2,c2=0,u3,u4,y,d,u5,u6,x,c3=0; | ^ main.cpp:13:6: warning: 'z' is used uninitialized [-Wuninitialized] 13 | a=z; | ~^~ main.cpp:25:5: warning: 'u' may be used uninitialized [-Wmaybe-uninitialized] 25 | if(u==u2) | ^~ main.cpp:25:5: warning: 'u2' may be used uninitialized [-Wmaybe-uninitialized] main.cpp:33:10: warning: 'y' is used uninitialized [-Wuninitialized] 33 | b=y; | ~^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb Incorect 0
9 1 ms 114 kb Incorect 0
10 1 ms 114 kb Incorect 0
Punctaj total 0