Borderou de evaluare (job #761578)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Piramide (clasa a 5-a) Compilator c-32
Rundă Concurs 03 | IQ Academy | clasa a 5-a Status evaluat
Dată 11 feb. 2024 12:28:19 Scor 96

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin,"%d%d%d",&n, &nr, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:23:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | fscanf(fin,"%d",&y); | ^~~~~~~~~~~~~~~~~~~ main.c:35:7: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 35 | if(r>p-3){ | ^ main.c:6:37: note: 'r' was declared here 6 | int n, i, nr, j=0, k, p=2, s=0, r, mx=0, c, y=0, u=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb a) OK; b) OK; c) OK d) linie incorecta 6
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 249 kb OK 10
7 4 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 39 ms 249 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 96