It is too difficult for me to read the code and understand your mind. At lease write some comments in your code, or give a brief decription on what approach you are using.
2014-05-11 20:16 GMT+08:00 vivek dhiman <[email protected]>: > Sure > > Here you go! > > http://ideone.com/vyzTLN > > Thanks > > > On Sun, May 11, 2014 at 2:04 PM, Xiongqi ZHANG <[email protected]>wrote: > >> I have no access to pastebin. >> >> Would you mind putting it on ideone? >> >> >> 2014-05-11 20:00 GMT+08:00 vivek dhiman <[email protected]>: >> >>> 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<https://groups.google.com/d/msgid/google-code/CABaJBvLPhWNfO3yXxvjRMvWixO-dTEOe1tgici8juYhs13hmyA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> 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/CAGDEU-KE%2Boz46HiMqmCc_gqpZ8NAc5%3DrOkT-BLas4xZKDLOr9g%40mail.gmail.com<https://groups.google.com/d/msgid/google-code/CAGDEU-KE%2Boz46HiMqmCc_gqpZ8NAc5%3DrOkT-BLas4xZKDLOr9g%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > 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/CABaJBvKnahNZ6NaonpGz63AfU-KztzJ0Gt8CPMM_ahw21Ox_9g%40mail.gmail.com<https://groups.google.com/d/msgid/google-code/CABaJBvKnahNZ6NaonpGz63AfU-KztzJ0Gt8CPMM_ahw21Ox_9g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAGDEU-JuSgDJRK3zQQPDWg92miy9CpTovU21BY62U1eZ1-oVMQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
