Borderou de evaluare (job #1751090)

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

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
10ms460kbOK!10
20ms460kbOK!10
30ms472kbOK!10
40ms488kbOK!10
50ms496kbOK!10
64ms536kbOK!10
74ms548kbOK!10
84ms588kbOK!10
94ms584kbOK!10
100ms456kbOK!10
Punctaj total100

Ceva nu functioneaza?