Unusual behavior of floating point variables in "Traffic Lights"

Revision en1, by Lelouch.Lamperouge, 2020-06-06 09:59:56

Hi, I was trying to solve the problem Traffic Lights from codeforces round 29 I was able to solve the problem but can somebody explain how just changing the language from C++14 to C++17 causes a change in the verdict
Wrong Answer Solution
Accepted Solution

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Lelouch.Lamperouge 2020-06-06 09:59:56 499 Initial revision (published)