Borderou de evaluare (job #1683769)

Utilizator CTI_KnightCir Constantin CTI_Knight Data 10 aprilie 2016 16:07:13
Problema Balul Bobocilor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:22: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] scanf( "%hf", &d ); ^ user.cpp:15:37: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] scanf( "%hf%hf%hf", &v1, &x, &y ); ^ user.cpp:15:37: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] user.cpp:15:37: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] user.cpp:16:37: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] scanf( "%hf%hf%hf", &v2, &z, &t ); ^ user.cpp:16:37: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] user.cpp:16:37: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] user.cpp:17:26: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] scanf( "%hf", &speed ); ^ user.cpp:22:24: warning: use of ‘h’ length modifier with ‘f’ type character [-Wformat=] printf( "%hf", ans ); ^ user.cpp:10:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "balulbobocilor.in", "r", stdin ); ^ user.cpp:11:49: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "balulbobocilor.out", "w", stdout ); ^ user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%hf", &d ); ^ user.cpp:15:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%hf%hf%hf", &v1, &x, &y ); ^ user.cpp:16:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%hf%hf%hf", &v2, &z, &t ); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%hf", &speed ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms316kbRaspuns Gresit :(0
20ms320kbRaspuns Gresit :(0
30ms316kbRaspuns Gresit :(0
40ms316kbRaspuns Gresit :(0
50ms324kbRaspuns Gresit :(0
60ms320kbRaspuns Gresit :(0
70ms320kbRaspuns Gresit :(0
80ms320kbRaspuns Gresit :(0
90ms316kbRaspuns Gresit :(0
100ms320kbRaspuns Gresit :(0
Punctaj total0

Ceva nu functioneaza?