Borderou de evaluare (job #1257121)

Utilizator rzvrzvNicolescu Razvan rzvrzv Data 7 noiembrie 2014 11:50:31
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:29: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:29:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:29:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:29:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:29:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:32:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:26: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:27: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:28: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:29: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:32: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
112ms8088kbIncorect0
212ms8092kbIncorect0
312ms8160kbIncorect0
416ms8208kbIncorect0
516ms8248kbIncorect0
616ms8236kbIncorect0
716ms8244kbIncorect0
816ms8240kbIncorect0
916ms8244kbIncorect0
1012ms8088kbIncorect0
Punctaj total0

Ceva nu functioneaza?