I am getting WA in TOWCNT. I also stress tested my code against accepted code on various self generated testcases, still there are no difference between the outputs of the two.
TestCase Generator : Link
Few TestCase : Link to testcases
My Code : Code
Please help, I am totally lost.
overflow see my comment below
1 Like
I am using long long all along.( defining int as long long). Can you please provide me test case where it is failing? @galencolin
@galencolin
Thanks Galen. Great help.
psk_7
April 22, 2020, 5:43pm
7
hey can anyone give me a tough test case for that problem
But no two obstacles intersects each other as per constraints of problem.
Hence, probably we should not care of it …
See the test cases again, they are not intersecting (even though they are on same x).
@ben_956_78
1 Like