I haven't actually dug into your logic to see if that works but at first glance, you need to be repeating your input until an EOF has been triggered.
Hope that helps,
Joel
Search found 4 matches
- Fri Jan 11, 2002 6:03 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317910
- Fri Nov 02, 2001 2:38 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317910
- Thu Nov 01, 2001 2:36 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317910
- Sat Oct 13, 2001 11:02 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317910
100 - The 3n + 1 problem
Hi all,
I've put together my own version of Problem 100 but its in PHP at the moment so I can't quite submit it yet until I convert it to Pascal but would love to hear some feedback on its execution:
http://www.justthefaqs.org/new/hailstones.php
Note: Large gaps between i and j will result in a ...
I've put together my own version of Problem 100 but its in PHP at the moment so I can't quite submit it yet until I convert it to Pascal but would love to hear some feedback on its execution:
http://www.justthefaqs.org/new/hailstones.php
Note: Large gaps between i and j will result in a ...