Hi
I submitted the following code for 254A (div1) and got WA: http://mirror.codeforces.com/contest/444/submission/7022941 However, after changing long longs to ints and long doubles to doubles I got AC: http://mirror.codeforces.com/contest/444/submission/7027365
Could any of you explain why did it happen that way?
Regards
scanf() doesn't work with long double in MinGW. Here was the same topic.
thanks!