Code fails on online judge but works fine on other compiler

Revision en1, by rajutsav1234, 2021-04-11 07:57:51

I was solving problem link . My code runs fine on my other compilers. But It fails on same testcases on CF online Judge. Here is my solution link.[submission:112599418][submission:112599418] In the code, at one line I had checked if a double is integer or not. I am not able to figure out why is it happening so. Please help.

Tags codeforces round #270

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English rajutsav1234 2021-04-11 07:57:51 502 Initial revision (published)