if n is 0, m has to be 0 since 2^0 -1 = 1 - 1 = 0
So if n is 0 the program should terminate.
Search found 5 matches
- Tue Oct 05, 2004 3:06 pm
- Forum: Volume 2 (200-299)
- Topic: 254 - Towers of Hanoi
- Replies: 39
- Views: 20554
- Tue Oct 05, 2004 12:12 am
- Forum: Volume 101 (10100-10199)
- Topic: 10139 - Factovisors
- Replies: 80
- Views: 42025
- Sun Oct 03, 2004 7:44 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10139 - Factovisors
- Replies: 80
- Views: 42025
10139 Factovisors. WA, need more test data.
Could someone post more test data for this problem?
This is the test data I have tested on so far:
Input:
0 1
1 1
2 1
3 6
1233473 1233473
46337 2144430863
2144430862 2144430863
12 479001600
12 43545600
12 6220800
12 467775
12 248832
12 42525
12 1925
12 1215
12 1024
12 243
12 77
12 25
12 11
12 7 ...
This is the test data I have tested on so far:
Input:
0 1
1 1
2 1
3 6
1233473 1233473
46337 2144430863
2144430862 2144430863
12 479001600
12 43545600
12 6220800
12 467775
12 248832
12 42525
12 1925
12 1215
12 1024
12 243
12 77
12 25
12 11
12 7 ...
- Thu Sep 30, 2004 5:37 pm
- Forum: Volume 2 (200-299)
- Topic: 202 - Repeating Decimals
- Replies: 82
- Views: 25307
- Thu Sep 30, 2004 4:28 pm
- Forum: Volume 2 (200-299)
- Topic: 202 - Repeating Decimals
- Replies: 82
- Views: 25307