Search found 2 matches

by devmehedee
Fri Apr 29, 2011 8:05 pm
Forum: Volume 104 (10400-10499)
Topic: 10474 - Where is the Marble?
Replies: 50
Views: 19026

Re: 10474 - Where is the Marble?

No need for binary search or other optimization, Just count sort will do... After Count Sort, I used Linear Search and got clean AC (0.616s). :D
by devmehedee
Sun Apr 17, 2011 7:41 pm
Forum: Volume 6 (600-699)
Topic: 694 - The Collatz Sequence
Replies: 46
Views: 15712

Re:

Tanzim-Saqib wrote:

Code: Select all

1 1
2147483647 1
2147483647 2
2147483647 214748364
1 0
In the problem, they said The initial value of A is always less than L. Then why are you giving these inputs? I got AC while my code gives different results for your inputs.

Go to advanced search