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

Format Problem!!!
Posted by Sergio Marquez 18 Aug 2006 02:13
How Can I show the longest value with all digits.
Now I show for n=3000  1.32207e+477
I use long double.
somebody can help me????
You may use BigInteger in Java (-)
Posted by Vladimir Yakovlev (USU) 18 Aug 2006 02:27
Re: You may use BigInteger in Java (-)
Posted by Sergio Marquez 22 Aug 2006 10:05
and in C++???
Re: Format Problem!!!
Posted by alisher 13 Feb 2007 21:49
use extended
Re: Format Problem!!!
Posted by Worrapat Boonyarittipong 16 Apr 2007 20:36
Use array friend, write your own multiply function.
Timus array max size = 64 K (or i may wrong)
which means you can create char array[64000]
store up to 64K digit

Edited by author 16.04.2007 20:37

Edited by author 16.04.2007 20:56
Re: Format Problem!!!
Posted by Alias (Alexander Prudaev) 16 Apr 2007 23:11
size of array is not limited. if you need you can create array of any size.

you must to implemet your own multiplication.
algorithm is the same as you do it in your exercise book
Re: Format Problem!!!
Posted by ☞ⓩⓢⓨⓩ™ⓣⓔⓢⓣ☜ 29 Mar 2009 19:24
if in pascal
you can use extended