Actually it says, "All integers will be less than 10,000 and greater than 0.", so it should accept input up to 9999 right?
you are right.
Not sure what you are referring to. Do you mean that this input is possible:
10 1
and if this is right then the output would according to the output ...
Search found 2 matches
- Thu Nov 01, 2001 8:43 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317910
- Wed Oct 31, 2001 6:52 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317910