Borderou de evaluare (job #770719)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Joc6 (baraj gimnaziu) Compilator c-32
Rundă Tema 27 clasa a 7-a Status evaluat
Dată 28 mar. 2024 14:15:21 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:48:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 48 | fprintf(fout,"%d %I64d",nr+1,max); | ~~~~^ ~~~ | | | | int long long int | %I64lld main.c:15:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d%d%d",&n,&k,&p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~ main.c:48:3: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized] 48 | fprintf(fout,"%d %I64d",nr+1,max); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:25: note: 'nr' was declared here 13 | int n,k,p,i,j,s,a,d,b,nr; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 249 kb OK 10
5 39 ms 524 kb OK 10
6 279 ms 3657 kb OK 10
7 549 ms 5226 kb OK 10
8 509 ms 2871 kb Incorect 0
9 648 ms 8634 kb OK 10
10 629 ms 8630 kb OK 10
Punctaj total 90