Borderou de evaluare (job #766049)

Utilizator avatar IustinMax001 Iustin Dragusanu IustinMax001 IP ascuns
Problemă Piramide (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 mar. 2024 09:53:41 Scor 96

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:31: warning: unused variable 'f' [-Wunused-variable] 11 | int n,x,k,l,z,q=0,r,w=0,s,f=0,ok,cnt=0,d=1,max=0; | ^ main.cpp:31:5: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 31 | if (s>r) cout<<0<<endl; | ^~ main.cpp:11:29: note: 's' was declared here 11 | int n,x,k,l,z,q=0,r,w=0,s,f=0,ok,cnt=0,d=1,max=0; | ^ main.cpp:31:5: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 31 | if (s>r) cout<<0<<endl; | ^~ main.cpp:11:23: note: 'r' was declared here 11 | int n,x,k,l,z,q=0,r,w=0,s,f=0,ok,cnt=0,d=1,max=0; | ^ main.cpp:49:11: warning: 'ok' may be used uninitialized [-Wmaybe-uninitialized] 49 | cout<<ok; | ^~ main.cpp:11:35: note: 'ok' was declared here 11 | int n,x,k,l,z,q=0,r,w=0,s,f=0,ok,cnt=0,d=1,max=0; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 2 ms 245 kb OK 10
6 1 ms 512 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 39 ms 507 kb OK 10
10 1 ms 245 kb a) OK; b) OK; c) OK d) linie incorecta 6
Punctaj total 96