Borderou de evaluare (job #1437625)

Utilizator george.stefanGeorge Stefan george.stefan Data 18 mai 2015 04:04:01
Problema Sume Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:12:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&n); ^ user.c:29:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&v[i]); ^ user.c:156:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",sol[i]); ^ user.c:157:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d\n",x); ^ user.c:159:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d ",sol[i]); ^ user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.c:29:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK!5
2Depăşit300kbTime limit exceeded.0
3Depăşit288kbTime limit exceeded.0
40ms284kbWrong answer!0
5Depăşit304kbTime limit exceeded.0
6148ms312kbWrong answer!0
7Depăşit308kbTime limit exceeded.0
8Depăşit296kbTime limit exceeded.0
9Depăşit308kbTime limit exceeded.0
10Depăşit352kbTime limit exceeded.0
1184ms284kbWrong answer!0
12Depăşit296kbTime limit exceeded.0
13Depăşit324kbTime limit exceeded.0
14Depăşit316kbTime limit exceeded.0
15Depăşit336kbTime limit exceeded.0
16Depăşit344kbTime limit exceeded.0
17Depăşit336kbTime limit exceeded.0
18Depăşit348kbTime limit exceeded.0
19Depăşit352kbTime limit exceeded.0
20Depăşit344kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?