I don't know python but it looks like this might fail if there are 2
activities with the same start and end times.
--
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
I don't know python but is it possible that c_busy[1440 + 1] goes outside
the array bounds? Does c_busy = [0] * [1441] create an array of size 1441
so the indices are 0 to 1440?
--
You received this message because you are subscribed to the Google Groups
"Google Code Jam" group.
To
Remove the -1 in the for loop in Allocate
--
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 view this discussion
Remove the -1 from the for loop in allocate()
--
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 view this