Borderou de evaluare (job #1257117)

Utilizator rzvrzvNicolescu Razvan rzvrzv Data 7 noiembrie 2014 11:49:15
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&e); ^ user.cpp:28:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:28:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:28:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:28:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.in","r",stdin); ^ user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.out","w",stdout); ^ user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:28:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld%lld",&a,&b,&c,&d,&e); ^ user.cpp:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8084kbIncorect0
212ms8088kbIncorect0
312ms8160kbIncorect0
416ms8200kbIncorect0
516ms8236kbIncorect0
616ms8236kbIncorect0
716ms8240kbIncorect0
816ms8236kbIncorect0
916ms8240kbIncorect0
1012ms8080kbIncorect0
Punctaj total0

Ceva nu functioneaza?