ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1222. Chernobyl’ Eagles

How to output extended?
Posted by Snetch 21 Dec 2007 23:52
For n=3000 my program outputs 1.3220708194808066E+0477. Any idea about how to print it digit by digit?
Re: How to output extended?
Posted by Vedernikoff Sergey 22 Dec 2007 01:13
Extended can store only 18 digits. So, to AC this problem you should use long arithmetics.
Re: How to output extended?
Posted by KIRILL(ArcSTUpid coder:) 22 Dec 2007 01:16
extended type can store not more 18 significant digits so
you should use long arithmetic here

))sorry too late

Edited by author 22.12.2007 01:17
Re: How to output extended?
Posted by Snetch 22 Dec 2007 06:42
Thanks, got AC.