Borderou de evaluare (job #1232976)

Utilizator TarabanDragosTaraban Dragos-Petru TarabanDragos Data 24 septembrie 2014 13:33:31
Problema Galerie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d%d",&n,&m,&t); ^ user.cpp:52:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:52:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:54:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d%d",&v[i].p,&v[i].q,&v[i].c); ^ user.cpp:54:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:54:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:60:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d%d",&x[i].x,&x[i].y,&x[i].k); ^ user.cpp:60:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:60:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:80:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d\n",x[i].r); ^ user.cpp:52:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&n,&m,&t); ^ user.cpp:54:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&v[i].p,&v[i].q,&v[i].c); ^ user.cpp:60:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&x[i].x,&x[i].y,&x[i].k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK100
20ms328kbIncorect0
3440ms10132kbIncorect00
4564ms12712kbIncorect00
5392ms9000kbIncorect00
6508ms11888kbIncorect00
7420ms10012kbIncorect00
8436ms9648kbIncorect00
9476ms11048kbIncorect00
10504ms11348kbIncorect00
Punctaj total0

Ceva nu functioneaza?