yeah but for this case i am getting 8.

r=0, c=0, time = 1, S[r][c]=1, W[r][c]=1   wait_sn = 1,wait_we=0
r=0, c=0, time = 2, S[r][c]=1, W[r][c]=1   wait_sn = 0,wait_we=1
r=1, c=0, time = 4, S[r][c]=10, W[r][c]=1 wait_sn = 0,wait_we=6
r=1, c=0, time = 5, S[r][c]=10, W[r][c]=1  wait_sn = 0,wait_we=5
r=1, c=1, time = 7, S[r][c]=1, W[r][c]=10  wait_sn = 3,wait_we=0
r=1, c=1, time = 8

 tottime= 8

There is a  way with 8 minutes can u check ?

On Mon, May 16, 2011 at 5:07 PM, Anders Sjöqvist <[email protected]>wrote:

> I get "Case #1: 12", but you know that you can just download the
> source code from a top-ranking contestant and try it for yourself,
> right?
>
> Anders
>
>
> On May 16, 10:16 am, vivek dhiman <[email protected]> wrote:
> > For this case:
> >
> > 1
> > 2 2
> > 1 1 0 10 1 6
> > 10 1 0 1 10 10
> >
> > I am having 8 as an answer wat's ur answer ?
> >
> > Regards
> > Vivek Dhiman
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-codejam" 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 this group at
> http://groups.google.com/group/google-code?hl=en.
>
>


-- 
Regards
Vivek Dhiman

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to