Borderou de evaluare (job #813661)

Utilizator avatar andrei_sevescu sevescu andrei andrei_sevescu IP ascuns
Problemă Iluminat Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 mar. 2025 21:29:39 Scor 16

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:33: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int *' [-Wformat=] 17 | fscanf(fin, "%lld" ,&m[l][c]); | ~~~^ ~~~~~~~~ | | | | | int * | long long int * | %d main.c:47:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 47 | fprintf(fout, "%lld" ,s); | ~~~^ ~ | | | | | int | long long int | %d main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d%d" ,&cer,&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%lld" ,&m[l][c]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:9:27: warning: 'maxl' may be used uninitialized [-Wmaybe-uninitialized] 9 | int i,n,k,cer,l,c,max,maxl,maxc,s=0; | ^~~~ main.c:9:32: warning: 'maxc' may be used uninitialized [-Wmaybe-uninitialized] 9 | int i,n,k,cer,l,c,max,maxl,maxc,s=0; | ^~~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:45:13: /usr/include/bits/stdio2.h:111:10: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:9:23: note: 'max' was declared here 9 | int i,n,k,cer,l,c,max,maxl,maxc,s=0; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 4
2 1 ms 507 kb OK 4
3 9 ms 507 kb OK 4
4 1109 ms 4173 kb Time limit exceeded 0
5 439 ms 2338 kb OK 4
6 1109 ms 4177 kb Time limit exceeded 0
7 1109 ms 3919 kb Time limit exceeded 0
8 1109 ms 4182 kb Time limit exceeded 0
9 439 ms 4173 kb Incorect 0
10 1108 ms 4182 kb Time limit exceeded 0
11 299 ms 2342 kb Incorect 0
12 1 ms 503 kb Incorect 0
13 1106 ms 4440 kb Time limit exceeded 0
14 89 ms 1822 kb Incorect 0
15 2 ms 126 kb Incorect 0
16 1108 ms 4177 kb Time limit exceeded 0
17 1 ms 249 kb Incorect 0
18 1 ms 512 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 1 ms 249 kb Incorect 0
21 1 ms 249 kb Incorect 0
22 1 ms 249 kb Incorect 0
23 1 ms 270 kb Incorect 0
24 1 ms 249 kb Incorect 0
25 1 ms 249 kb Incorect 0
Punctaj total 16