Yong Li wrote in post #1033692: > Had a quick look at the problem and its comments. It seems that most > time-exceeded solutions are caused by slow i/o instead of sorting. > > On Fri, Nov 25, 2011 at 8:06 PM, Gaurav C. <chande.gaurav / gmail.com> > wrote: >> has got to be able to answer a tiny puzzle on a website which accepts >> puts array.sort >> >> > > > > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Li, Yong > Fushan Road 450, Room 9A > Pudong New Area, > Shanghai, 200122 > P.R.China > > phone: +86-15021003368 > email: gilbertly / gmail.com > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Hey Yong Li, Thanks for the reply. I understand what you said, but could you elaborate a bit? I mean, has the problem got to do with the host website or with my code? Should I change anything in my code? -- Posted via http://www.ruby-forum.com/.