I used eclipse when I used java for the answer, since the step debugger is very useful for finding out if you forgot a border case in a cycle or you're doing something wrong.
As for the overhead of "creating a new project"? Preparation, man! Before the contest starts, I already have a project called "GCJ Round X", with classes A, B, and C with the skeleton code to read and parse the case numbers. That way I only have to start coding the parsing of the actual test case input, and well, solve it. Set the browser to download files to the same dir where the compiled .class files are stored. Have a terminal open in the same dir. Download the input set, go to the terminal window and run "java A < A-small-attempt0 > A-small.out", upload A-small.out. The IDE will only make you lose time if you aren't prepared beforehand :) (for the problems where I used perl I used plain vi and perltidy for mental health) On May 25, 8:56 am, Nat Pavasant <[email protected]> wrote: > I use Notepad and Command Prompt. I normally use Eclipse for my > projects (all PHP, Java and C), but it is not very convenient with > codejam since I need to create project first. And the fact that, > between all three tasks I solve in Qualification round and Round 1C, I > use three different programming language (each one has its own > strength, for example when I do brute-force algorithm, C is my choice, > but with geometry, I prefer Java) I use print debug too. > > - Nat > > 2010/5/25 Paul Smith <[email protected]>: > > > > > > > I use Notepad, ruby, and irb. I debug by 'puts'ing strings to the > > console (yeah, printfs) > > > Paul Smith > > > [email protected] > > > On Tue, May 25, 2010 at 1:37 PM, Dhruva Sagar <[email protected]> > > wrote: > >> crap, *I am not very good at algorithms* <-- correction > > >> On Tue, May 25, 2010 at 18:04, Dhruva Sagar <[email protected]> wrote: > > >>> Well programming environment does matter, but only if you / one is used to > >>> a particular environment. > >>> I have worked in several programming languages, have used several IDEs, > >>> and there was a one point when I could swear by Eclipse :). > >>> But I am very good at algorithms, in fact 'not very good' is a huge > >>> understatement :). I was unable to pass round 1 this time though I tried > >>> all > >>> 3 times, I solved the easiest problems each time though, but couldn't fix > >>> my > >>> other solutions in time, so not sure how much you should take my advice > >>> anyways. > >>> But the real reason I think that to be the case is because Debugging will > >>> not help you get the right algorithm, it will only help you find problems > >>> in > >>> the algorithm you thought of... > >>> On Tue, May 25, 2010 at 17:47, Qasim Zeeshan <[email protected]> > >>> wrote: > > >>>> "........but for the purpose of contests such as GCJ I don't think you > >>>> need any IDEs at all" > >>>> I disagree. It happened to me in Round 1A when I was in my friend's home > >>>> and worked on VC++ 6. The vectors are not easily debug-able in VC++ 6 > >>>> editor. I am sure, if I would have been using VS 2005, I will be more > >>>> speedy > >>>> as it took me some time to setup my watch in VC++ 6. Yeah, if your > >>>> algorithms and programming is so strong that you don't even need a > >>>> debugger > >>>> then for sure you you can program in any editor. > >>>> So programming environment does matter. > > >>>> On Tue, May 25, 2010 at 5:11 PM, Dhruva Sagar <[email protected]> > >>>> wrote: > > >>>>> I use VIM, that's all I need. You can debug C/C++ applications as well I > >>>>> haven't yet tried that. > >>>>> I work mostly in ruby, and yes I can debug scripts exactly how one > >>>>> should be able to. > >>>>> Sometimes I code in C++ too, but for the purpose of contests such as GCJ > >>>>> I don't think you need any IDEs at all. > >>>>> What matters here is if you've been able to solve the problem / > >>>>> identified the pattern. > >>>>> For any debugging that you'd have to do, printfs are going to be just > >>>>> fine! > >>>>> But anyways, I vouch for VIM all the way. It is the best imho :) > > >>>>> On Tue, May 25, 2010 at 17:33, Shrey <[email protected]> wrote: > > >>>>>> While attempting Code Jam and similar competitions, saving on time > >>>>>> spent writing, testing and debugging code can be a major factor. I run > >>>>>> Ubuntu on a VMware image, simply using gedit and make to write and > >>>>>> test programs. However, writing code can be easier with IDEs having > >>>>>> code completion and debugging facilities. Although the topic seems to > >>>>>> have been beaten hollow on linux discussion forums, the questions > >>>>>> there are usually raised by users intending to create and manage large > >>>>>> projects. > >>>>>> My question is this- what do you prefer to use for writing, testing > >>>>>> and debugging code during contests where time can be a major factor? I > >>>>>> have used Code::Blocks and Eclipse CDT but the former fails to debug > >>>>>> properly while the latter was too slow and bulky to use during a > >>>>>> contest. > > >>>>>> -- > >>>>>> 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. > > >>>>> -- > > >>>>> Thanks & Regards, > >>>>> Dhruva Sagar. > > >>>>> -- > >>>>> 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. > > >>>> -- > >>>> Qasim Zeeshan > >>>> PUCIT, PU Alumni '04 > >>>> Software Engineer > >>>> Confiz Solutions > >>>>http://qzeeshan.blogspot.com/ > > >>>> -- > >>>> 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. > > >>> -- > > >>> Thanks & Regards, > >>> Dhruva Sagar. > > >> -- > > >> Thanks & Regards, > >> Dhruva Sagar. > > >> -- > >> 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. > > > -- > > 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 > > athttp://groups.google.com/group/google-code?hl=en. > > -- > 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 > athttp://groups.google.com/group/google-code?hl=en. -- 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.
