BluoCaroot's blog

By BluoCaroot, history, 3 weeks ago, In English

I was writing a problem on polygon and I came across a problem with the std::rcmp9 checker.

Whenever the output doesn't fit in a double variable it gives AC verdict even if the relative error is greater than 1e-9

I tried making my own version and reading the numbers as strings and then casting them as ld and making ld variations of the check functions but the same thing happens and I can't get correct verdicts, could anyone suggest any solutions?

Full text and comments »

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