Borderou de evaluare (job #815319)

Utilizator avatar Paboo_000 Pavel Stefan Postolache Paboo_000 IP ascuns
Problemă Concurs3 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 20 mar. 2025 10:21:50 Scor 0

Raport evaluator

Compilare: main.cpp:88:9: warning: multi-character character constant [-Wmultichar] 88 | af+=' 3'; | ^~~~ main.cpp: In function 'int main()': main.cpp:16:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 16 | if(c=1){ | ~^~ main.cpp:36:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 36 | if(pf=pmax){ | ~~^~~~~ main.cpp:42:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 42 | if(c=2){ | ~^~ main.cpp:88:9: warning: overflow in conversion from 'int' to 'char' changes value from '8243' to '51' [-Woverflow] 88 | af+=' 3'; | ^~~~ main.cpp:12:13: warning: unused variable 'x' [-Wunused-variable] 12 | int c,n,x,p,e,pf,e1,e2,e3,em,pmax,k; | ^ main.cpp:69:7: warning: 'em' may be used uninitialized [-Wmaybe-uninitialized] 69 | if(e1 > em){ | ^~ main.cpp:12:31: note: 'em' was declared here 12 | int c,n,x,p,e,pf,e1,e2,e3,em,pmax,k; | ^~ main.cpp:58:17: warning: 'e1' may be used uninitialized [-Wmaybe-uninitialized] 58 | e1=e1+pf; | ~~^~~~~~ main.cpp:12:22: note: 'e1' was declared here 12 | int c,n,x,p,e,pf,e1,e2,e3,em,pmax,k; | ^~ main.cpp:61:17: warning: 'e2' may be used uninitialized [-Wmaybe-uninitialized] 61 | e2=e2+pf; | ~~^~~~~~ main.cpp:12:25: note: 'e2' was declared here 12 | int c,n,x,p,e,pf,e1,e2,e3,em,pmax,k; | ^~ main.cpp:64:17: warning: 'e3' may be used uninitialized [-Wmaybe-uninitialized] 64 | e3=e3+pf; | ~~^~~~~~ main.cpp:12:28: note: 'e3' was declared here 12 | int c,n,x,p,e,pf,e1,e2,e3,em,pmax,k; | ^~ main.cpp:52:27: warning: 'pf' may be used uninitialized [-Wmaybe-uninitialized] 52 | pf=pf+10; | ~~^~~~~~ main.cpp:12:19: note: 'pf' was declared here 12 | int c,n,x,p,e,pf,e1,e2,e3,em,pmax,k; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 19 ms 266 kb Incorect 0
6 1 ms 249 kb Incorect 0
7 1 ms 266 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 19 ms 249 kb Incorect 0
11 79 ms 245 kb Incorect 0
12 9 ms 249 kb Incorect 0
13 9 ms 245 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 249 kb Incorect 0
16 1 ms 266 kb Incorect 0
17 24 ms 245 kb Incorect 0
18 9 ms 245 kb Incorect 0
19 59 ms 249 kb Incorect 0
20 1 ms 245 kb Incorect 0
Punctaj total 0