[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

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

2020-04-06 Thread porker2008
*for(int i = 0; i < A.size() -1; i++)* condition for continuing the loop is incorrect. You should use* i < A.size()* -- 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