I am getting wrong answer in Third Task every time , No idea Why ?

Can Anybody please tell , What is wrong with this : CodeChef: Practical coding for everyone

I have tried using long double here but still no help : CodeChef: Practical coding for everyone

Try this case :
1
1000000000 1000000000000
Answer :

818989403.5467659235

1 Like