Hi,

There are some hint for u,
      - think is there any other way to store the input so u can do
more in a single operation.
      - think how to do more while performing get_c

-Ravi
http://techie-rs.blogspot.in/

On May 4, 1:28 am, Umer Farooq <the.um...@gmail.com> wrote:
> Hi friends!
>
> I submitted my code on interviewstreet.com
>
> The problem statement can be found 
> onhttps://www.interviewstreet.com/challenges/dashboard/#problem/4f1c739...
>
> However, it passed for only two cases and gave a time out error for the
> rest of cases. Can anyone please tell me where I am lacking?
>
> Is there anything I can do to improve the running time of my code?
>
> I thought it is taking more time because Java runs slower, but they have a
> greater limit of running time for java code.
>
> Please find the code in the attachment.
>
> --
> Umer
>
>  Solution.java
> 3KViewDownload

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To post to this group, send email to google-code@googlegroups.com.
To unsubscribe from this group, send email to 
google-code+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to