Borderou de evaluare (job #1493294)

Utilizator StefanMudragMudrag Stefan StefanMudrag Data 28 septembrie 2015 22:54:19
Problema Galagie Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘read’: user.c:15:9: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(fin,"%ld",&v[i]); ^ user.c:9:15: warning: unused variable ‘val’ [-Wunused-variable] { long long val; ^ user.c: In function ‘main’: user.c:41:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%ld",sol); ^ user.c: In function ‘read’: user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ user.c:15:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%ld",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
24ms272kbIncorect0
34ms280kbIncorect0
4Depăşit592kbTime limit exceeded.0
5Depăşit652kbTime limit exceeded.0
6Depăşit720kbTime limit exceeded.0
7Depăşit960kbTime limit exceeded.0
8Depăşit984kbTime limit exceeded.0
9Depăşit1000kbTime limit exceeded.0
10Depăşit1016kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?