Borderou de evaluare (job #2223575)

Utilizator FroopieAnouar Achghaf Froopie Data 20 iulie 2018 17:55:38
Problema Dreptunghiuri4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d", &arr[i].x1, &arr[i].y1, &arr[i].x2, &arr[i].y2); ^ user.cpp:28:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:28:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:28:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:68:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", ans); ^ user.cpp:22:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dreptunghiuri4.in", "r", stdin); ^ user.cpp:23:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dreptunghiuri4.out", "w", stdout); ^ user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:28:74: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &arr[i].x1, &arr[i].y1, &arr[i].x2, &arr[i].y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2148kbIncorect0
212ms5552kbIncorect0
316ms6024kbIncorect0
432ms10368kbIncorect0
556ms13732kbIncorect0
6100msDepăşitMemory limit exceeded.0
7Depăşit27968kbTime limit exceeded.0
8Depăşit29376kbTime limit exceeded.0
9Depăşit28944kbTime limit exceeded.0
10Depăşit27204kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?