Sample Input
3 100
34 100
75 250
27 2147483647
101 304
101 303
-1 -1
Sample Output
Case 1: A = 3, limit = 100, number of terms = 8
Case 2: A = 34, limit = 100, number of terms = 14
Case 3: A = 75, limit = 250, number of terms = 3
Case 4: A = 27, limit = 2147483647, number of terms ...
Search found 4 matches
- Mon Aug 27, 2012 4:46 am
- Forum: Volume 6 (600-699)
- Topic: 694 - The Collatz Sequence
- Replies: 46
- Views: 21935
- Sat Aug 25, 2012 4:59 am
- Forum: Volume 4 (400-499)
- Topic: 495 - Fibonacci Freeze
- Replies: 222
- Views: 59892
Re: 495 - Fibonacci Freeze
The Fibonacci number for 5 is 5
The Fibonacci number for 7 is 13
The Fibonacci number for 11 is 89
The Fibonacci number for 5000 is ...
The Fibonacci number for 7 is 13
The Fibonacci number for 11 is 89
The Fibonacci number for 5000 is ...
- Mon Jul 16, 2012 6:16 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10954 - Add All
- Replies: 80
- Views: 41629
Re: 10954 - Add All
I am getting wrong answer! Please give me some other sample input/output.........
- Tue Jul 10, 2012 6:39 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10424 - Love Calculator
- Replies: 137
- Views: 59832
Re: 10424 - Love Calculator
No error, No warning in my code. But why compilation error?? Please Help me!