Borderou de evaluare (job #753662)

Utilizator avatar ana_p Ana Petrescu ana_p IP ascuns
Problemă Matrice Spirală (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 ian. 2024 15:05:21 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:84:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=] 84 | fprintf(out,"%d",nr); | ~^ ~~ | | | | | long long unsigned int | int | %lld main.c:7:27: warning: unused variable 'l' [-Wunused-variable] 7 | int N,C,i,j,u,c,k,L,T,l,p,mp,Lx,Cx; | ^ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(in,"%d%d",&T,&N); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:60:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | fscanf(in,"%d%d",&L,&C); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:84:9: /usr/include/bits/stdio2.h:79:10: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:8:24: note: 'nr' was declared here 8 | unsigned long long nr; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 3 ms 380 kb OK 5
5 1 ms 495 kb OK 5
6 19 ms 540 kb OK 5
7 29 ms 671 kb OK 5
8 39 ms 794 kb OK 5
9 49 ms 905 kb OK 5
10 69 ms 917 kb OK 5
11 1 ms 245 kb OK 5
12 1 ms 245 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 1 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 1 ms 245 kb OK 5
18 1 ms 245 kb OK 5
19 1 ms 245 kb Incorect 0
20 1 ms 245 kb Incorect 0
Punctaj total 90