In educational round 88 Problem C I have submitted my solution in GNU C++17 (64) it gives WA on test 4 at the time of contest. But today I have submitted my same code in GNU C++ 17 and it is accepted.
Code submitted in GNU C++ 17 (64)
Both are the same code
Can anyone tell me why it is so??
UPD: Now I have use long double
instead of double
and submitted the same code using GNU C++17 (64) compiler and it is AC. But by just using double
why it was giving WA using GNU C++17 (64) and AC using GNU C++17 ?