Borderou de evaluare (job #725380)

Utilizator avatar avram.popa Avram-Popa avram.popa IP ascuns
Problemă Flori Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 2 iul. 2023 10:56:19 Scor 30

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",&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&mat[l][c]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&z); | ^~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin,"%d%d%d%d%d",&l1,&c1,&l2,&c2,&x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:46:5: /usr/include/bits/stdio2.h:79:10: warning: 'nrmax' 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:6:39: note: 'nrmax' was declared here 6 | int n,m,l,c,i,z,l1,c1,l2,c2,x,max,nrmax; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 49 ms 2609 kb Incorect 0
5 59 ms 3391 kb Incorect 0
6 139 ms 4177 kb Incorect 0
7 349 ms 6270 kb OK 10
8 349 ms 4968 kb OK 10
9 409 ms 3395 kb Time limit exceeded 0
10 406 ms 3657 kb Time limit exceeded 0
Punctaj total 30