On Sunday, April 7, 2019 at 5:27:20 PM UTC+4, Ralph Furmaniak wrote: > Thanks for the problems! All were unique and clever and interesting, and I’m > looking forward to the rest of the rounds. > > One issue with the solution to the first problem in the analysis: The > constructive solution can result in 0s, eg: 10 would be decomposed as 10+0 > but the problem statement says that A and B must be positive integers. > There’s a bit of casework needed to make the solution always output positive > integers (number contains a 4, number has at least two non-zero digits, > number starts with a 1, 5, or anything else)
Proper solution to this problem is so simple you will laugh. And btw I noticed they actually have a hint to it hidden in the plain sight. -- 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/4714db25-f8f8-481b-a3ae-9b5d46e85603%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.