Solved small but large isn't working For example for this case: 6 116 633
My answer is 216 but required is 215 Here is the code: http://pastebin.com/KAUZzEGS I am missing an edge case. Which one? -- Thanks & Regards Vivek Dhiman -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/CABaJBvLPhWNfO3yXxvjRMvWixO-dTEOe1tgici8juYhs13hmyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
