Borderou de evaluare (job #1369529)

Utilizator ade_tomiEnache Adelina ade_tomi Data 3 martie 2015 09:25:04
Problema Furnici Status done
Runda Arhiva de probleme 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
10ms256kbOK10
20ms248kbOK10
30ms252kbOK10
40ms248kbOK10
50ms252kbOK10
68ms256kbOK10
712ms252kbOK10
816ms252kbOK10
928ms252kbOK10
1032ms252kbOK10
Punctaj total100

Ceva nu functioneaza?