Thank you neal for your reply.

Can you please provide me with a corner case or something with its output?
Also i think the first test case should be the worst case right?

Thanks,
Hussein


On Mon, Dec 10, 2012 at 6:44 PM, Neal Zane <[email protected]> wrote:

> The same result to my AC output.
>
> 8 729647433 3 6 2 14
>
>
> On Mon, Dec 10, 2012 at 9:02 PM, Hussein El-Sayed 
> <[email protected]>wrote:
>
>> Here is the problem 
>> link<https://www.interviewstreet.com/challenges/dashboard/#problem/4e802efa370c1>
>> .
>>
>>
>>
>> On Mon, Dec 10, 2012 at 3:01 PM, Hussein El-Sayed 
>> <[email protected]>wrote:
>>
>>> Hi All,
>>>
>>> I am trying to solve this problem and i am facing wrong answer for long
>>> time, however i don't know why the solution is wrong.. i made many test
>>> cases and all of them was correct so i need a help from your side.
>>>
>>> The only needed help is what is the output for this test case if you
>>> already solved this problem before.
>>>
>>> 3
>>> 16
>>> 9 33
>>> 34 5
>>> 9 8
>>> 29 8
>>> 5 3
>>> 2 3
>>> 4 5
>>> 20 85
>>> 100 98
>>> 55 32
>>> 1 9
>>> 1 10
>>> 2 19
>>> 3 22
>>> 7 30
>>> 4 50
>>> 15
>>> 0 0
>>> 1 0
>>> 2 0
>>> 0 1
>>> 1 1
>>> 2 1
>>> 0 2
>>> 1 2
>>> 2 2
>>> 0 3
>>> 1 3
>>> 2 3
>>> 0 4
>>> 1 4
>>> 2 4
>>> 7
>>> 3 5
>>> 4 5
>>> 5 5
>>> 6 5
>>> 7 5
>>> 8 9
>>> 8 5
>>>
>>> My solution output for this test case is:
>>>
>>> 8 729647433
>>> 3 6
>>> 2 14
>>>
>>> Thanks in advance
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Code Jam" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> 8-)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to