ShockProof's blog

By ShockProof, history, 8 years ago, In English

I wrote a solution to 295B... After getting wrong ans on test case 4 I tested my solution on Custom Innovation and it is showing the correct output for the 4th case.

I tested my code in ideone also. here is the ideone test. It produces correct output both on CUSTOM INVOCATION and on Ideone.

I can't figure out what is wrong with my submission. could somebody please help me?

Edit:

My bad. The participant's output is shown first. Which is wrong and I got WA. I thought that it is the Jury's output.

Full text and comments »

  • Vote: I like it
  • -2
  • Vote: I do not like it

By ShockProof, history, 9 years ago, In English

got Wrong answer on test 11 after rejudge 11857092

later just printed two digits after decimal point and got Accepted 11868319

I don't understand the reason... please explain

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it