Borderou de evaluare (job #718688)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Carte (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 mai 2023 22:15:58 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:11: warning: unused variable 'j' [-Wunused-variable] 12 | int i,j,n,p,co,z = 0,max=0,maxi; | ^ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d",&x[i]); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:32:5: /usr/include/bits/stdio2.h:79:10: warning: 'maxi' 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:12:32: note: 'maxi' was declared here 12 | int i,j,n,p,co,z = 0,max=0,maxi; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 241 kb a) rezultat incorect; b) OK; c) OK 6
3 1 ms 245 kb a) rezultat incorect; b) OK; c) OK 6
4 1 ms 241 kb a) rezultat incorect; b) OK; c) OK 6
5 1 ms 245 kb a) rezultat incorect; b) OK; c) OK 6
6 19 ms 249 kb OK 10
7 109 ms 249 kb Time limit exceeded 0
8 69 ms 245 kb OK 10
9 89 ms 245 kb a) rezultat incorect; b) OK; c) OK 6
10 107 ms 249 kb Time limit exceeded 0
Punctaj total 60