Borderou de evaluare (job #766039)

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:36:06 Scor 84

Raport evaluator

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