Edu Round 86 Problem C

there was no issue with compiler. It was their internal bug. See this Announcement.

No his solution was giving WA even after that.
And when he submitted the same code on C++17 it worked whereas when it was submitted on C++14 it didn’t.
I can’t really say what kind of issue was that though.

Can you ask regarding this issue on the editorial or announcement page of that round.
If you do so just reply about it here.
I am really want to know what was really the issue.

I will do so in the editorial blog post once it is posted as more people will be active on that one.

1 Like

Seems like the issue was float point arithmetic. Compilers are really inconsistent with floating point arithmetic.

That is something worth knowing.
By the way did you get that answer on the editorial page?

Stackoverflow.