@Frank, there are two separate issues here. 1) If this question is for an ongoing contest, then it's quite likely this is cheating according to the contests rules. 2) The OP didn't ask for help, he/she asked for a solution in any (then gave a very short list of any) language.
Maybe I'm mistaken, but from the person who said don't post assignments, I didn't get that assignments shouldn't be asked about. But asking to do the assignment for the OP is what shouldn't happen. I don't think many (I know I wouldn't) would complain if someone says something like "I'm in an algorithm course and my professor gave me this assignment but I don't know how to solve it", then say what he/she has tried or what it doesn't understand and shows that the interest is mainly learning how to solve the problem. But this question is "solve this for me by tonight". Whatever your views, if you can't offer ideas, allow others to. My view, and probably shared among others, is that this types of questions (asking others to solve their problems) decreases the quality of this group. That's why I feel it should be said so. In the thread from a couple of days ago, where someone asked for a solution for a competition qualifying question, some poor soul spent some time on it and provide code in JavaScript. He didn't even get a "Thanks" he got "I need it in a different language". If this would become a trend here less people will help and we all lose. To be honest, I found your answer perfect, you gave an algorithm name and encouraged the OP to put some work on it. The problem is that I don't think the OP will be happy about it, you clearly didn't give him what he asked for "a solution in C, C++, Java or Python". I hope you understand this rant is not directed at you, I'm just trying to express to you why I consider this type of question inappropriate in this group. Carlos Guía On Tue, Aug 13, 2013 at 10:33 AM, MOli Chaudhari <mallika...@gmail.com>wrote: > I have done this question in python > > > On Tue, Aug 13, 2013 at 7:02 PM, <frankgo...@gmail.com> wrote: > >> ** >> Any question that relates to algorithm is not out of place. What is GCJ >> about then? Take a holistic and balanced view. >> >> Whatever your views, if you can't offer ideas, allow others to. People >> have problems and they desire solutions not rejection. >> >> Sent from earth. >> ------------------------------ >> *From: * Malay Keshav <malay.kes...@gmail.com> >> *Sender: * google-code@googlegroups.com >> *Date: *Tue, 13 Aug 2013 18:58:17 +0530 >> *To: *<google-code@googlegroups.com> >> *ReplyTo: * google-code@googlegroups.com >> *Subject: *Re: [gcj] this is my project question need urgent answer >> itcan be in any language(c,c++,java,python) >> >> @Carlos : Totally Agree. I was just saving the trouble of replying when >> people ask "What will you gain by cheating ?" >> >> >> On Tue, Aug 13, 2013 at 6:55 PM, Carlos Guia >> <carlos.guia.v...@gmail.com>wrote: >> >>> For the person saying that everything on the web was put by humans. This >>> group is not the "web", in the about page >>> https://groups.google.com/forum/#!aboutgroup/google-code you can see >>> the description is: >>> >>> "A group for discussion of the Google Code Jam series of programming >>> contests. To learn more, visit http://code.google.com/codejam. Please >>> refrain from making any commercial or recruiting posts on this list." >>> >>> So the fact we're allowed to talk about non Google Code Jam things here >>> is already a slack given by the moderators, probably because it helps in >>> having better GCJ contests. But that doesn't mean the group should be >>> spammed with everything anyone is not trying to do by themselves. >>> >>> Carlos Guía >>> >>> >>> On Tue, Aug 13, 2013 at 10:20 AM, Carlos Guia < >>> carlos.guia.v...@gmail.com> wrote: >>> >>>> While I wouldn't answer questions of this type (ongoing contest) the >>>> prize money is not really important. Who came to this forum asking for help >>>> in this way is not going to win. >>>> >>>> Carlos Guía >>>> >>>> >>>> On Tue, Aug 13, 2013 at 10:17 AM, Malay Keshav >>>> <malay.kes...@gmail.com>wrote: >>>> >>>>> Its from an ongoing contest by TCS with a prize money. >>>>> >>>>> -- >>>>> 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/CABGuxU8VSBAZAD%3DeRcEcYYcKtM5acRdR5Fd2b2et%3Dy2qHbiinA%40mail.gmail.com?hl=en >>>>> . >>>>> >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>> >>>> >>> -- >>> 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/CANxkOGZzdgsOnPpaM_i6Jy%2BuMKukCj%2Bk6z68F7UL8Ns2WcSinQ%40mail.gmail.com?hl=en >>> . >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> 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/CABGuxU_gTdWQDpGWQebQqrt4cBEFTg9zzCL6%3D_9c_7xperJm3A%40mail.gmail.com?hl=en >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> -- >> 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/492403504-1376400783-cardhu_decombobulator_blackberry.rim.net-681445959-%40b2.c11.bise7.blackberry?hl=en >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > 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/CAD3_gAREp2Q97LeMHs3Et-f1W0FjMw3-Q%2BXp1NqKRyHceQmrgw%40mail.gmail.com?hl=en > . > > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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/CANxkOGZZ3ONk2VzJCs0MhWFU-w%3De1vZijfnvAetOS7%2Bb9EGcDg%40mail.gmail.com?hl=en. For more options, visit https://groups.google.com/groups/opt_out.