Borderou de evaluare (job #1292080)

Utilizator smallOneAdina Mateescu smallOne Data 13 decembrie 2014 16:54:19
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:70:112: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d %I64d %I64d %I64d %I64d %I64d %I64d %I64d", &A.x, &A.y, &B.x, &B.y, &C.x, &C.y, &D.x, &D.y); ^ user.cpp:70:112: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:70:112: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:70:112: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:70:112: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:70:112: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘long long int*’ [-Wformat=] user.cpp:70:112: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘long long int*’ [-Wformat=] user.cpp:70:112: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘long long int*’ [-Wformat=] user.cpp:63:32: 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:64:33: 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:70:113: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d %I64d %I64d %I64d %I64d %I64d %I64d %I64d", &A.x, &A.y, &B.x, &B.y, &C.x, &C.y, &D.x, &D.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbIncorect0
20ms460kbIncorect0
30ms452kbIncorect0
40ms452kbIncorect0
54ms456kbIncorect0
64ms456kbIncorect0
7148ms460kbIncorect0
8Depăşit444kbTime limit exceeded.0
9Depăşit444kbTime limit exceeded.0
10Depăşit452kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?