|
|
вернуться в форумTo Admins There is a strange thing about Test 8. The first code I've written had this function: void update(double x,double y) { if (x<xmin) xmin=x; if (x>xmax) xmax=x; if (y<ymin) ymin=y; if (y>ymax) ymax=y; return ; } And I just called it three times for every line in the input. But I got TLE17, so I tried to rewrite the code and omit this function. But I got WA8. I have changed nothing else, just put a fragment in my code like 'x=bla1; y=bla2;' and copied the body of the function... So, what's the matter about the test? Re: To Admins I have problems with test 17. When I use standart min() and max() functions i get TLE, and when I use if (x<xmin) xmin = x; instead I get WA 17 !!! It is really mysterious. |
|
|