On Wednesday, April 11, 2018 at 10:13:33 PM UTC-7, Vladyslav Lukiantsev wrote: > First three tasks include some optimizations, working with arrays, etc. > Meanwhile, fourth task is the pure geometric problem, which takes a couple of > lines of code which are just mirror for geometric formulas and nothing with > optimization. > Is it normal for Google Code Jam to include such strange tasks in competition?
It also depends on how you solve it? My geometry-fu is super weak, but I'm a graphics programmer so I know how to rotate meshes and project shadows, so I solved it algorithmicly by doing a search on the possible rotations to find one that creates a shadow area that matches. I'm sure there's a much, much more elegant solution for those more geometrically inclined, but I'm not going to spend the time to figure it out during a competition when I can just work with what I know ^_^. -- 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/5de8ffb4-86b5-46cd-98b2-de5845ab9056%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.