Borderou de evaluare (job #1728980)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 13 iulie 2016 22:53:03
Problema Livada3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:38: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld%lld%lld%lld",&N,&M,&C,&R); ^ user.cpp:47:38: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:47:38: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:47:38: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:48:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld%lld%lld%lld%lld",&x,&y,&z,&w,&u); ^ user.cpp:48:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:48:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:48:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:48:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:49:46: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] for(int i=1;i<=M;i++)scanf("%lld",&Mat[1][i]),MAX[1][i]=max(MAX[1][i-1],Mat[1][i]),Sum[1][i]=Sum[1][i-1]+Mat[1][i]; ^ user.cpp:50:46: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] for(int i=2;i<=N;i++)scanf("%lld",&Mat[i][1]),MAX[i][1]=Sum[i][1]=Mat[i][1]; ^ 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("livada3.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("livada3.out","w",stdout); ^ user.cpp:47:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld",&N,&M,&C,&R); ^ user.cpp:48:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld%lld",&x,&y,&z,&w,&u); ^ user.cpp:49:116: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=M;i++)scanf("%lld",&Mat[1][i]),MAX[1][i]=max(MAX[1][i-1],Mat[1][i]),Sum[1][i]=Sum[1][i-1]+Mat[1][i]; ^ user.cpp:50:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=2;i<=N;i++)scanf("%lld",&Mat[i][1]),MAX[i][1]=Sum[i][1]=Mat[i][1]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbIncorect0
20ms280kbIncorect0
30ms312kbIncorect0
40ms316kbIncorect0
50ms332kbIncorect0
60ms332kbIncorect0
78ms572kbIncorect0
88ms572kbIncorect0
98ms568kbIncorect0
100ms284kbIncorect0
Punctaj total0

Ceva nu functioneaza?