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://codeforces.me/contest/1209/submission/92332571
GNU C++17 (64)
submission (AC): https://codeforces.me/contest/1209/submission/92331832