Borderou de evaluare (job #1458901)

Utilizator radudurlesteanuDurlesteanu Radu Stefan radudurlesteanu Data 8 iulie 2015 18:35:20
Problema Reuniune Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d",&d1.x0,&d1.y0,&d1.x1,&d1.y1); ^ user.cpp:34:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:34:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:34:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:35:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d",&d2.x0,&d2.y0,&d2.x1,&d2.y1); ^ user.cpp:35:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:35:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:35:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:36:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d",&d3.x0,&d3.y0,&d3.x1,&d3.y1); ^ user.cpp:36:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:36:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:36:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:32:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reuniune.in","r",stdin); ^ user.cpp:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reuniune.out","w",stdout); ^ user.cpp:34:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&d1.x0,&d1.y0,&d1.x1,&d1.y1); ^ user.cpp:35:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&d2.x0,&d2.y0,&d2.x1,&d2.y1); ^ user.cpp:36:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&d3.x0,&d3.y0,&d3.x1,&d3.y1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbIncorect0
20ms268kbOK10
30ms268kbIncorect0
40ms268kbIncorect0
50ms264kbIncorect0
60ms264kbIncorect0
70ms264kbIncorect0
80ms264kbIncorect0
90ms268kbIncorect0
100ms260kbIncorect0
Punctaj total10

Ceva nu functioneaza?