I used the same approach as mentioned in the editorial using python 3.
I am getting TLE for 6 out of 7 tasks.
The link for the code is:
Could anyone please check and see whats wrong with my code.
It will be of great help. Thanks!!
I used the same approach as mentioned in the editorial using python 3.
I am getting TLE for 6 out of 7 tasks.
The link for the code is:
Could anyone please check and see whats wrong with my code.
It will be of great help. Thanks!!
@zymbio, I saw your solution and it is totally correct. It will TLE just because python is slow. Try submitting in “pypy” or using the number of iterations as 75 (finding the exact number of iterations has been added as link in the editorial)
sure! will also go through the link thanks !!
@p1p5_5 I implemented the same idea. You can see the solution here
https://www.codechef.com/viewsolution/18824486
Hello @saurav96 here is your accepted code:Link The only problem was precision since you had used float it was resulting to less precision. Use double or long double to resolve. You can also see this link for more info:gfg
hello,
can someone help me understand this concept.
i want to use this formula as…
|PC X PQ| / |PQ| = R
so does PC represents C(x,y,z) - P(x,y,z) ?
if so…
how to get values for a,b,c using numerator |PC X PQ| ??
please help.
Thanks.
What? I think I edited that section out for correction xD. Where is it left now?
PS: Great blog you found