Borderou de evaluare (job #1369531)

Utilizator ade_tomiEnache Adelina ade_tomi Data 3 martie 2015 09:25:36
Problema Furnici Status done
Runda simulareoni2015cl9 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d%d%cg",&m,&n,&cg); ^ user.cpp:9:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:12:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d%c%c",&x,&cg,&y); ^ user.cpp:17:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",max); ^ user.cpp:9:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%cg",&m,&n,&cg); ^ user.cpp:12:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%c%c",&x,&cg,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms252kbOK10
30ms252kbOK10
40ms252kbOK10
50ms252kbOK10
612ms248kbOK10
712ms248kbOK10
816ms256kbOK10
928ms256kbOK10
1032ms252kbOK10
Punctaj total100

Ceva nu functioneaza?