Excuse me, can anyone tell me how to use printf
to output long double
values?
I tried to use %Lf
, but it just output zero when I chose GNU C++11
.
However, I got AC when choosing GNU C++17 (64)
.
Can anyone tell me what should I do? Thank you~
GNU C++11
submission (WA on 1): https://mirror.codeforces.com/contest/1209/submission/92332571
GNU C++17 (64)
submission (AC): https://mirror.codeforces.com/contest/1209/submission/92331832