Borderou de evaluare (job #1235846)

Utilizator VladTiberiuMihailescu Vlad Tiberiu VladTiberiu Data 30 septembrie 2014 19:41:31
Problema Chiftea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",1LL*4*y); ^ user.cpp:25:50: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] if(x-y*y<=y) printf("%ld\n",1LL*4*y+2); ^ user.cpp:27:49: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld\n",1LL*4*y+4); ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] { freopen("chiftea.in","r",stdin); ^ user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chiftea.out","w",stdout); ^ user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t); ^ user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
176ms300kbIncorect0
276ms296kbIncorect0
376ms300kbIncorect0
472ms296kbIncorect0
576ms300kbIncorect0
676ms300kbIncorect0
776ms304kbIncorect0
872ms296kbIncorect0
976ms304kbIncorect0
1076ms296kbIncorect0
Punctaj total0

Ceva nu functioneaza?