Borderou de evaluare (job #1734672)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 27 iulie 2016 22:24:39
Problema Insula2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘double ComputeAnswer()’: user.cpp:79:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(points[Stack[i-1]].y>points[Stack[i]].y||i==top&&points[Stack[i-1]].y==points[Stack[i]].y){ ^ user.cpp: In function ‘int main()’: user.cpp:98:11: warning: unused variable ‘j’ [-Wunused-variable] int i,j; ^ user.cpp:96:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("insula2.in","r",stdin); ^ user.cpp:97:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("insula2.out","w",stdout); ^ user.cpp:99:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:108:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&points[i].y,&points[i].x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms772kbOK!5
216ms1028kbOK!5
30ms564kbOK!5
40ms380kbOK!5
50ms396kbOK!5
60ms380kbOK!5
70ms348kbOK!5
80ms516kbOK!5
90ms520kbOK!5
100ms404kbOK!5
110ms536kbOK!5
120ms480kbOK!5
130ms348kbOK!5
1416ms1460kbOK!5
150ms356kbOK!5
1648ms1700kbOK!5
174ms860kbOK!5
180ms700kbOK!5
194ms872kbOK!5
2032ms1468kbOK!5
Punctaj total100

Ceva nu functioneaza?