Borderou de evaluare (job #2075359)

Utilizator OlivianOlivian Dan Cretu Olivian Data 25 noiembrie 2017 12:58:30
Problema Gardieni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%lld %lld",&n,&t); ^ user.cpp:9:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:12:40: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%lld %lld %lld",&a,&b,&c); ^ user.cpp:12:40: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:12:40: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gardieni.in","r",stdin); ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gardieni.out","w",stdout); ^ user.cpp:9:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld",&n,&t); ^ user.cpp:12:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld",&a,&b,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbIncorect0
20ms272kbIncorect0
30ms276kbIncorect0
40ms268kbIncorect0
54ms272kbIncorect0
64ms276kbIncorect0
74ms268kbIncorect0
84ms272kbIncorect0
94ms276kbIncorect0
104ms272kbIncorect0
Punctaj total0

Ceva nu functioneaza?