|
|
вернуться в форумAC~~~happy~~ I used some methods, got TLE || WA ...T T ... You can enumerate P . Think carefully and you will get a O(sqrt(n)) solution. Re: AC~~~happy~~ Thank you "zxy_snow" Re: AC~~~happy~~ Spend some time for enum, cause i don't wanna to calculate in float variables. So fun!) |
|
|