Codeforces Round #428 div2 problem C. Journey link to problem.. i recieved wrong answer on test 30 (wrong output format Unexpected end of file — double expected). can any one understand this wrong answer ?? here is my python code :(https://codeforces.net/contest/839/submission/75015613)
I just increased the recursion limit and stack size and it worked. https://codeforces.net/contest/839/submission/75017298
thank you very much. you are a life saver