Borderou de evaluare (job #1666505)

Utilizator TarabanDragosTaraban Dragos-Petru TarabanDragos Data 28 martie 2016 03:42:15
Problema Gradina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:59:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d",&v[i].x,&v[i].y); ^ user.cpp:59:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:57:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:59:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&v[i].x,&v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOkay10
28ms296kbDiferenta minima gresita!0
3260ms296kbDiferenta minima gresita!0
4952ms304kbDiferenta minima gresita!0
5284ms296kbDiferenta minima gresita!0
6128ms300kbDiferenta minima gresita!0
7852ms308kbDiferenta minima gresita!0
8824ms300kbDiferenta minima gresita!0
9624ms304kbDiferenta minima gresita!0
10952ms296kbDiferenta minima gresita!0
Punctaj total10

Ceva nu functioneaza?