Borderou de evaluare (job #2170389)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 15 martie 2018 00:07:02
Problema Terenuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void BuildConvexHull()’: user.cpp:48:113: warning: comparison of constant ‘-1’ with boolean expression is always false [-Wbool-compare] if(Eq(v[i].first,v[best].first)==-1 || (!Eq(v[i].first,v[best].first) && Eq(v[i].second,v[best].second))==-1) best=i; ^ user.cpp: In function ‘int main()’: user.cpp:68:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("terenuri.in","r",stdin); ^ user.cpp:69:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("terenuri.out","w",stdout); ^ user.cpp:71:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:75:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&v[i].first,&v[i].second); ^ user.cpp:102:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms4888kbOK5
24ms4824kbOK5
344ms4864kbOK5
444ms4888kbOK5
544ms4936kbOK5
6280ms6948kbOK5
7276ms6980kbOK5
8272ms6980kbOK5
9Depăşit6828kbTime limit exceeded.0
10Depăşit6852kbTime limit exceeded.0
11Depăşit7352kbTime limit exceeded.0
12Depăşit7388kbTime limit exceeded.0
13Depăşit7388kbTime limit exceeded.0
14Depăşit7388kbTime limit exceeded.0
15Depăşit7520kbTime limit exceeded.0
16Depăşit7404kbTime limit exceeded.0
17Depăşit7428kbTime limit exceeded.0
18Depăşit7536kbTime limit exceeded.0
19Depăşit7384kbTime limit exceeded.0
20Depăşit7524kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?