[gcj] Re: Parenting Partner Returns Solution did not work, what is the problem?

2020-04-07 Thread Jeffrey Short
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

[gcj] Re: Parenting Partnering

2020-04-07 Thread Jeffrey Short
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

[gcj] Re: KickStart 2020 Allocation problem giving WA, what seems to be the issue in the code??

2020-04-06 Thread Jeffrey Short
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

[gcj] Re: KickStart 2020 Allocation problem giving WA, what seems to be the issue in the code??

2020-04-06 Thread Jeffrey Short
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