Borderou de evaluare (job #1267525)

Utilizator sulzandreiandrei sulzandrei Data 19 noiembrie 2014 23:41:53
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:10:6: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&n); ^ user.c:14:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&c); ^ user.c:23:10: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f,"%d",&v); ^ user.c:37:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",c); ^ user.c:10:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.c:14:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&c); ^ user.c:23:16: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbIncorect0
20ms272kbIncorect0
30ms264kbIncorect0
40ms264kbIncorect0
512ms284kbIncorect0
628ms328kbIncorect0
752ms428kbIncorect0
8128ms720kbIncorect0
9268ms1204kbIncorect0
10280ms1200kbIncorect0
Punctaj total0

Ceva nu functioneaza?