Borderou de evaluare (job #779757)

Utilizator avatar NICO_ Gavris Nicolae NICO_ IP ascuns
Problemă Elementul Majoritar (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 7 iun. 2024 18:52:47 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 12 | fscanf(fin ,"%d",&n); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:16:23: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 16 | fscanf(fin ,"%d",&v[i]); | ~^ ~~~~~ | | | | | long long int * | int * | %lld main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin ,"%d",&n); | ^~~~~~~~~~~~~~~~~~~~ main.c:16:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin ,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:13:7: warning: 'nn' is used uninitialized [-Wuninitialized] 13 | nn=nn/2; | ~~^~~~~ main.c:8:19: note: 'nn' was declared here 8 | long long n,i,nn; | ^~ main.c:22:15: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 22 | if(y>maxy) | ^ main.c:9:9: note: 'y' was declared here 9 | int y,maxy=-1,streak=0,my; | ^ main.c:33:10: warning: 'my' may be used uninitialized [-Wmaybe-uninitialized] 33 | if(my!=v[n]) | ~~^~~~~~ main.c:9:28: note: 'my' was declared here 9 | int y,maxy=-1,streak=0,my; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 2008 ms 249 kb Time limit exceeded 0 0
2 2009 ms 270 kb Time limit exceeded 0
3 2009 ms 770 kb Time limit exceeded 0
4 2009 ms 2609 kb Time limit exceeded 0 0
5 2009 ms 4202 kb Time limit exceeded 0
6 2005 ms 13090 kb Time limit exceeded 0 0
7 2005 ms 18862 kb Time limit exceeded 0
8 2007 ms 22544 kb Time limit exceeded 0 0
9 2000 ms 24121 kb Time limit exceeded 0
10 2008 ms 24121 kb Time limit exceeded 0
Punctaj total 0