My solution has only one loop with R cycles for each input, and it solved
the large input in less than a minute. The problem is probably what you are
doing inside the loop. There's no way to solve it in time if you just do
a straightforward simulation on each cycle.

Malkava

On Sat, May 8, 2010 at 3:12 PM, goutham <goutham...@gmail.com> wrote:

> well I got the prob with Theme Park... the small inputs were solving
> good but the large inputs contained loops for 100,000,000 which are
> huge and time consuming .... and all my 8 min of submission time went
> away...
>
> is anyone else facing the same problem.
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-codejam" group.
> To post to this group, send email to google-c...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-code+unsubscr...@googlegroups.com<google-code%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-code?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to google-c...@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