Borderou de evaluare (job #1758279)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 16 septembrie 2016 21:54:52
Problema Tribute Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&N,&Dx,&Dy); ^ user.cpp:48:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:48:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:50:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&x[i],&y[i]); ^ user.cpp:50:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:45:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tribute.in","r",stdin); ^ user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tribute.out","w",stdout); ^ user.cpp:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&N,&Dx,&Dy); ^ user.cpp:50:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x[i],&y[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbasa se fac punctele..10
20ms284kbasa se fac punctele..10
30ms292kbasa se fac punctele..10
40ms300kbnici pe departe!!0
58ms436kbasa se fac punctele..10
620ms676kbasa se fac punctele..10
716ms512kbasa se fac punctele..10
820ms752kbasa se fac punctele..10
936ms904kbasa se fac punctele..10
1032ms1064kbnici pe departe!!0
Punctaj total80

Ceva nu functioneaza?