rkb_rd's blog

By rkb_rd, 19 months ago, In English

During solving this problem, when i submitted the following code with c++ setprecision function i got Wrong answer on test 5.

Code

And later the following one got accepted without setprecision.

Code

My question is, what i did wrong in the first one?

Thank You...

Upd: Got the error. Should use long double instead double

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it