Borderou de evaluare (job #1860156)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 27 ianuarie 2017 21:58:49
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:50: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=] scanf("%lf%lf%lf",&C[i].x,&C[i].y,&C[i].r); ^ user.cpp:33:50: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=] user.cpp:33:50: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=] user.cpp:38:39: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=] scanf("%lf%lf",&L[i].x,&L[i].y); ^ user.cpp:38:39: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long 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:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf%lf",&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:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&L[i].x,&L[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms468kbIncorect00
236ms888kbIncorect00
316ms676kbIncorect00
412ms552kbIncorect00
50ms476kbIncorect0
6Depăşit8256kbTime limit exceeded.0
7Depăşit8256kbTime limit exceeded.0
8Depăşit7476kbTime limit exceeded.0
9Depăşit8256kbTime limit exceeded.0
10Depăşit6696kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?