Borderou de evaluare (job #1860163)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 27 ianuarie 2017 22:00:44
Problema Nori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:47: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%f%f%f",&C[i].x,&C[i].y,&C[i].r); ^ user.cpp:33:47: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:33:47: warning: format ‘%f’ expects argument of type ‘float*’, but argument 4 has type ‘double*’ [-Wformat=] user.cpp:38:37: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%f%f",&L[i].x,&L[i].y); ^ user.cpp:38:37: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nori.in","r",stdin); ^ user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:33:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%f%f%f",&C[i].x,&C[i].y,&C[i].r); ^ user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:38:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%f%f",&L[i].x,&L[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms468kbIncorect00
228ms756kbIncorect00
312ms608kbIncorect00
44ms520kbIncorect00
50ms468kbIncorect0
6Depăşit5916kbTime limit exceeded.0
7Depăşit5916kbTime limit exceeded.0
8Depăşit5372kbTime limit exceeded.0
9Depăşit5912kbTime limit exceeded.0
10Depăşit4820kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?