Borderou de evaluare (job #1390211)

Utilizator akaprosAna Kapros akapros Data 16 martie 2015 21:52:40
Problema Flori2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:38: warning: format ‘%g’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%g %g",&v[i].x,&v[i].y); ^ user.cpp:29:38: warning: format ‘%g’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori2.in","r",stdin); ^ user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori2.out","w",stdout); ^ user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:29:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%g %g",&v[i].x,&v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
132ms312kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?