Borderou de evaluare (job #771127)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Poteci (baraj gimnaziu) Compilator c-32
Rundă Tema 27 clasa a 7-a opțional Status evaluat
Dată 30 mar. 2024 22:34:47 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:35:16: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 35 | fscanf(fin,"%d%d",&n,&m); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:35:18: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 35 | fscanf(fin,"%d%d",&n,&m); | ~^ ~~ | | | | int * long long int * | %lld main.c:84:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 84 | fprintf(fout,"%lld\n%d %d",s1,l,c); | ~^ ~ | | | | int long long int | %lld main.c:84:27: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=] 84 | fprintf(fout,"%lld\n%d %d",s1,l,c); | ~^ ~ | | | | int long long int | %lld main.c:35:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fscanf(fin,"%d%d",&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:84:3: /usr/include/bits/stdio2.h:79:10: warning: 'l' 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:34:32: note: 'l' was declared here 34 | long long n,m,i,j,s,max1 = 0,l,c,s1; | ^ In function 'fprintf', inlined from 'main' at main.c:84:3: /usr/include/bits/stdio2.h:79:10: warning: 'c' 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':
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 709 ms 512 kb Time limit exceeded 0
2 709 ms 270 kb Time limit exceeded 0
3 709 ms 249 kb Time limit exceeded 0
4 709 ms 249 kb Time limit exceeded 0
5 708 ms 3657 kb Time limit exceeded 0
6 709 ms 2605 kb Time limit exceeded 0
7 709 ms 4177 kb Time limit exceeded 0
8 709 ms 4440 kb Time limit exceeded 0
9 709 ms 3411 kb Time limit exceeded 0
10 709 ms 512 kb Time limit exceeded 0
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 0