Borderou de evaluare (job #1751081)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 31 august 2016 18:11:44
Problema Cerc3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 64

Raport evaluator

Compilare: user.cpp: In function ‘long int nrext(std::vector<cerc>)’: user.cpp:51:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i<X.size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:70:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%ld%ld%ld",&C[i].x,&C[i].y,&C[i].r); ^ user.cpp:70:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:70:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘double*’ [-Wformat=] user.cpp:65:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cerc3.in","r",stdin); ^ user.cpp:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:70:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&C[i].x,&C[i].y,&C[i].r); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbPrima valoare gresita!8
20ms456kbOK!10
30ms468kbOK!10
40ms480kbOK!10
50ms496kbPrima si a treia valoare gresite!5
64ms536kbToate valorile sunt gresite!0
74ms548kbPrimele doua valori gresite!3
84ms580kbToate valorile sunt gresite!0
94ms584kbPrima valoare gresita!8
100ms456kbOK!10
Punctaj total64

Ceva nu functioneaza?