Borderou de evaluare (job #1504154)

Utilizator dominiciorgandaDominic Iorganda dominiciorganda Data 17 octombrie 2015 14:16:40
Problema Gradina 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:35: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%lld%lld%lld",&x,&ct,&m); ^ user.cpp:9:35: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:9:35: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:12:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%lld%lld",&i,&j); ^ user.cpp:12:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:39:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld\n%lld\n",ct,ct1); ^ user.cpp:39:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘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("gradina3.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("gradina3.out","w",stdout); ^ user.cpp:9:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld",&x,&ct,&m); ^ user.cpp:12:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&i,&j); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbIncorect0
20ms476kbIncorect0
30ms484kbIncorect0
40ms456kbIncorect0
5284ms1420kbIncorect0
628ms1580kbIncorect0
7Depăşit1768kbTime limit exceeded.0
80ms432kbIncorect0
9Depăşit2164kbTime limit exceeded.0
10Depăşit2184kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?