Borderou de evaluare (job #2182439)

Utilizator giotoPopescu Ioan gioto Data 22 martie 2018 13:12:40
Problema Intersectii Status done
Runda crrr2 Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:9: warning: unused variable ‘xA’ [-Wunused-variable] int xA = 0, yA = 0; ^ user.cpp:24:17: warning: unused variable ‘yA’ [-Wunused-variable] int xA = 0, yA = 0; ^ user.cpp:25:9: warning: unused variable ‘xB’ [-Wunused-variable] int xB = w, yB = 0; ^ user.cpp:25:17: warning: unused variable ‘yB’ [-Wunused-variable] int xB = w, yB = 0; ^ user.cpp:26:9: warning: unused variable ‘xC’ [-Wunused-variable] int xC = w, yC = h; ^ user.cpp:26:17: warning: unused variable ‘yC’ [-Wunused-variable] int xC = w, yC = h; ^ user.cpp:27:9: warning: unused variable ‘xD’ [-Wunused-variable] int xD = 0, yD = h; ^ user.cpp:27:17: warning: unused variable ‘yD’ [-Wunused-variable] int xD = 0, yD = h; ^ user.cpp:21:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("intersectii.in", "r", stdin); ^ user.cpp:22:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("intersectii.out", "w", stdout); ^ user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &w, &h); ^ user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2956kbOK10
24ms2764kbOK10
312ms2840kbOK10
48ms2768kbOK10
5Depăşit2312kbTime limit exceeded.0
6Depăşit2352kbTime limit exceeded.0
7Depăşit2516kbTime limit exceeded.0
8Depăşit2588kbTime limit exceeded.0
9Depăşit2456kbTime limit exceeded.0
10Depăşit2616kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?