Borderou de evaluare (job #1290450)

Utilizator bogdan.feraruFeraru Bogdan bogdan.feraru Data 11 decembrie 2014 11:39:24
Problema Noname 3 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:11:2: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f, "%ld", &n); ^ user.c:12:2: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f, "%ld", &s); ^ user.c:23:4: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g, "%ld ", i + r1 + 1); ^ user.c:26:4: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g, "%ld ", i + r1 + 2); ^ user.c:11:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%ld", &n); ^ user.c:12:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%ld", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbIncorect00
20ms256kbIncorect00
30ms256kbIncorect00
40ms260kbIncorect00
50ms252kbIncorect00
60ms252kbIncorect00
70ms252kbIncorect0
80ms256kbIncorect0
90ms256kbIncorect00
100ms240kbIncorect00
Punctaj total0

Ceva nu functioneaza?