Hello,
I'm trying to solve the B problem of the Div2 Round #382.
I'm getting the correct answer when i compile on my system with gcc version 5.3.1 but when i submit I get WA on the very first test case. Om my system i get "6.00000000", which is the right answer, but when i submit i get a "0.00000000".Can anybody help me?
Problem statement: http://codeforces.me/contest/735/problem/B Submission: http://codeforces.me/contest/735/submission/22645993
Thanks in Advance :)