×

# LUCKY2: lucky number range

 0 how to store 10^1000 in c? not even unsigned long long can store it...plz help link text asked 28 Jun '12, 19:22 1●2●2●3 accept rate: 0% 0★admin ♦♦ 19.7k●350●498●541

 0 Sometimes you really need to work with big numbers, then you can use char[1000] or int[1000]. On the other hand if your plan is to iterate all these numbers , you have to realize, that if CPU can handle 10^9 operations in second, you will need 10^991 seconds to do that... answered 29 Jun '12, 12:40 16.9k●49●115●225 accept rate: 11%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×54
×9

question asked: 28 Jun '12, 19:22

question was seen: 1,504 times

last updated: 06 Apr '16, 12:49