Borderou de evaluare (job #1301809)

Utilizator cojocarugabiReality cojocarugabi Data 26 decembrie 2014 13:47:21
Problema Qtri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d%d%d%d%d\n",&a.x,&a.y,&b.x,&b.y,&c.x,&c.y,&d.x,&d.y); ^ user.cpp:25:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:25:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:25:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:25:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:25:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:25:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=] user.cpp:25:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘long long int*’ [-Wformat=] user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qtri.in","r",stdin); ^ user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qtri.out","w",stdout); ^ user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:25:76: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d%d%d\n",&a.x,&a.y,&b.x,&b.y,&c.x,&c.y,&d.x,&d.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbIncorect0
20ms428kbIncorect0
30ms424kbIncorect0
40ms428kbIncorect0
512ms428kbIncorect0
624ms424kbIncorect0
7Depăşit412kbTime limit exceeded.0
8Depăşit412kbTime limit exceeded.0
9Depăşit404kbTime limit exceeded.0
10Depăşit412kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?