On Monday, April 9, 2018 at 2:29:36 AM UTC+8, newbie007 wrote:
> Usually in the qualification round the first two problems are simple and with 
> no tricks.
> 
> I got A and B correct for the small data sets, so I assumed it was fine.
> 
> But then wrong for A large and time exceed for B large. Oo
> 
> Probably I was too careless, but I think CodeJam missed the qualification 
> round purpose this year.

I agree that the first two problems should be simple and straightforward, but I 
believe that A and B this year is nothing beyond that. The B of 2015 
Qualification Round, for example, is in my opinion much harder than these two.

To put it simply, the A this year is just a bubble sort with some counting 
arrays. The B requires the realisation that there are essentially two 
independent arrays, one even index, another odd index. Sort them with the best 
algorithm you have (it doesn't even have to be stable), compare against each 
other and you're done.

The C this year, is surprisingly very easy if you take the time to read the 
lengthy problem description (to a certain extent easier than A and B because 
the limit is too forgiving to be challenging). You only need to stay on the 
same row, wait for the 9 farms to be digged, then you increment the column by 3 
until it tells you the answer has been found.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/73381f0d-adeb-4a24-9763-4ee991e62818%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to