Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Correct answer locally ,but wrong answer when submitted

Revision en1, by ColdWinters, 2016-12-01 21:20:24

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.com/contest/735/problem/B Submission: http://codeforces.com/contest/735/submission/22645993

Thanks in Advance :)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ColdWinters 2016-12-01 21:20:24 540 Initial revision (published)