Borderou de evaluare (job #753355)

Utilizator avatar Paunescu_Stefan_Vlad Paunescu Stefan Vlad Paunescu_Stefan_Vlad IP ascuns
Problemă Unific (clasa a 7-a) Compilator c-32
Rundă Tema 14 clasa a 7-a Status evaluat
Dată 30 dec. 2023 20:35:36 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:83:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 83 | fscanf(fin,"%d",&n); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:86:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 86 | fscanf(fin,"%d",&v[poz]); | ~^ ~~~~~~~ | | | | | long long int * | int * | %lld main.c:124:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 124 | fprintf(fout,"%d ",v[i]); | ~^ ~~~~ | | | | int long long int | %lld main.c:83:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:86:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | fscanf(fin,"%d",&v[poz]); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:122:5: /usr/include/bits/stdio2.h:79:10: warning: 'cmax' 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:80:25: note: 'cmax' was declared here 80 | long long n,i,copie,cmax,cmaxap,ii,poz,r; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1609 ms 249 kb Time limit exceeded 0
2 1608 ms 249 kb Time limit exceeded 0
3 1608 ms 245 kb Time limit exceeded 0
4 1609 ms 245 kb Time limit exceeded 0
5 1609 ms 249 kb Time limit exceeded 0
6 1609 ms 249 kb Time limit exceeded 0
7 1609 ms 245 kb Time limit exceeded 0
8 1609 ms 245 kb Time limit exceeded 0
9 1609 ms 249 kb Time limit exceeded 0
10 1609 ms 249 kb Time limit exceeded 0
Penalizare: 10% (pentru 2 submisie/ii) 10%
Punctaj total 0