hmm...ya..it seems to..thanks On 10/1/09, Anil Kishore <[email protected]> wrote: > This works ? > > while( scanf("%d",&N)!=EOF ) > -AK > > On Thu, Oct 1, 2009 at 11:52 PM, kumaran arumugam <[email protected]> wrote: > >> https://iws60.iiita.ac.in/alkhwarizm/?page=intro >> >> >> On Thu, Oct 1, 2009 at 11:50 PM, Lev Neiman >> <[email protected]>wrote: >> >>> link to acm judge plz. this problem looks interesting. >>> Sincerely, >>> Lev A. Neiman. >>> >>> >>> >>> On Thu, Oct 1, 2009 at 2:15 PM, kumaran arumugam >>> <[email protected]>wrote: >>> >>>> ya...fine.. >>>> i just thought that we could discuss how to handle coding flaws.. >>>> >>>> >>>> On Thu, Oct 1, 2009 at 11:43 PM, Lev Neiman >>>> <[email protected]>wrote: >>>> >>>>> what do you mean. this is google code jam discussion group. in GCJ >>>>> you >>>>> run your own program on the input and the GCJ judge just checks your >>>>> output >>>>> file. >>>>> Sincerely, >>>>> Lev A. Neiman. >>>>> >>>>> >>>>> >>>>> On Thu, Oct 1, 2009 at 2:09 PM, kumaran arumugam >>>>> <[email protected]>wrote: >>>>> >>>>>> No... >>>>>> its a local coding problem... >>>>>> >>>>>> >>>>>> On Thu, Oct 1, 2009 at 11:37 PM, Lev Neiman <[email protected] >>>>>> > wrote: >>>>>> >>>>>>> are you referring to acm problems? >>>>>>> Sincerely, >>>>>>> Lev A. Neiman. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Thu, Oct 1, 2009 at 2:06 PM, kumaran arumugam >>>>>>> <[email protected]>wrote: >>>>>>> >>>>>>>> I tried d same.. >>>>>>>> But the practice judge says that time limit is exceeded....... >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Oct 1, 2009 at 11:13 PM, kumaran arumugam <[email protected] >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> Thank you... >>>>>>>>> >>>>>>>>> >>>>>>>>> On 10/1/09, Lev Neiman <[email protected]> wrote: >>>>>>>>> > while( !cin.eof() ) >>>>>>>>> > { >>>>>>>>> > // process cases. >>>>>>>>> > >>>>>>>>> > } >>>>>>>>> > Sincerely, >>>>>>>>> > Lev A. Neiman. >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > On Thu, Oct 1, 2009 at 12:31 PM, kumaran arumugam < >>>>>>>>> [email protected]> wrote: >>>>>>>>> > >>>>>>>>> >> >>>>>>>>> >> Ya i have the option to take 1 case... >>>>>>>>> >> n hw to use the eof approach..can u give an example please? >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> On 10/1/09, Mikhail Dektyarev <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >> > If you have a way to read one and only one case - you'll >>>>>>>>> >> > simple >>>>>>>>> read >>>>>>>>> >> tests >>>>>>>>> >> > until the end of file.If no - there is no way to do it. >>>>>>>>> >> > >>>>>>>>> >> > On Thu, Oct 1, 2009 at 7:58 PM, kumaran arumugam < >>>>>>>>> [email protected]> >>>>>>>>> >> wrote: >>>>>>>>> >> > >>>>>>>>> >> >> >>>>>>>>> >> >> Hw to accept multiple test cases as input when the number of >>>>>>>>> test >>>>>>>>> >> >> cases is not known..? >>>>>>>>> >> >> >>>>>>>>> >> >> > >>>>>>>>> >> >> >>>>>>>>> >> > >>>>>>>>> >> > >>>>>>>>> >> > -- >>>>>>>>> >> > Best regards, Дектярев Михаил >>>>>>>>> >> > >>>>>>>>> >> > > >>>>>>>>> >> > >>>>>>>>> >> >>>>>>>>> >> > >>>>>>>>> >> >>>>>>>>> > >>>>>>>>> > > >>>>>>>>> > >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> > >> > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-code?hl=en -~----------~----~----~----~------~----~------~--~---
