Borderou de evaluare (job #1759927)

Utilizator stelian2000Stelian Chichirim stelian2000 Data 19 septembrie 2016 23:56:50
Problema Hercule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld ",1<<i); ^ user.cpp:56:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld ",1<<i); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hercule.out","w",stdout); ^ user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&t); ^ user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1108ms276kbOK20
2108ms268kbOK20
3108ms272kbOK20
4112ms268kbOK20
5108ms276kbOK20
Punctaj total100

Ceva nu functioneaza?