Borderou de evaluare (job #697186)

Utilizator avatar paundaniel Daniel Paun paundaniel IP ascuns
Problemă Avioane Compilator c-32
Rundă Test 3 Clasa a 7-a Cerc Nerdvana 2023 Status evaluat
Dată 18 feb. 2023 19:05:20 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:25:20: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 25 | fscanf(fin,"%d%d",&n,&p); | ~^ ~~ | | | | int * long long int * | %lld main.c:25:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin,"%d%d",&n,&p); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:28:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:32:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(fin,"%lld%lld",&vp[j],&vh[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:30:26: warning: 'q' is used uninitialized [-Wuninitialized] 30 | for(int j=0;j<q;j++) | ~^~ main.c:35:5: warning: 'h' may be used uninitialized [-Wmaybe-uninitialized] 35 | fprintf(fout,"%d\n",surv(p,h,n,j)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb Incorect 0
2 1 ms 118 kb Incorect 0
3 1 ms 118 kb Incorect 0
4 34 ms 380 kb Incorect 0
5 36 ms 372 kb Incorect 0
6 38 ms 376 kb Incorect 0
7 60 ms 512 kb Incorect 0
8 44 ms 376 kb Incorect 0
9 52 ms 512 kb Incorect 0
10 58 ms 507 kb Incorect 0
Punctaj total 0