Thread: 200 digit integer... how?

  1. #16
    Registered User
    Join Date
    Aug 2001
    Posts
    16

    ...

    I was thinking, what would be wrong with making the 200 digit number 200-1 digit numbers and then applying math to those digits... what math did you want to do anyhow? Now besides the problems that I am gonna get hoarded(sp?) with... how long would it take for those 200 ints to get multiplied by a 4 digit number? Assuming that you just have to multiply and not add. That would be 800 multiplyings... wouldnt it?
    "Practice means good, Perfect Practice means Perfect"

  2. #17
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    And on the same page is a link to the factorial of 200: http://www.rsasecurity.com/rsalabs/node.asp?id=2879. 200 > 155.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #18
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Wow - 4 year bump - that must be a new record!
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #19
    The Artful Lurker Deckard's Avatar
    Join Date
    Jan 2002
    Posts
    633

    This thread has gone back ... to the future!

    1.21 jigawhats

  5. #20
    Prying open my third eye.
    Join Date
    Jun 2005
    Posts
    45
    ahahaha, and I just read through the whole thread until I read Salem's post and looked at the dates.
    "So you're one of those condescending UNIX computer users?"

    "Here's a nickel, kid. Get yourself a better computer."

  6. #21
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Wow...this thread has survived two bumps and still hasn't been locked down. What's next...void main?
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. memory issue
    By t014y in forum C Programming
    Replies: 2
    Last Post: 02-21-2009, 12:37 AM
  2. Link List math
    By t014y in forum C Programming
    Replies: 17
    Last Post: 02-20-2009, 06:55 PM
  3. Looking for constructive criticism
    By wd_kendrick in forum C Programming
    Replies: 16
    Last Post: 05-28-2008, 09:42 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  5. newbie programmer - needs help bad.
    By hortonheat in forum C Programming
    Replies: 17
    Last Post: 10-20-2004, 05:31 PM