I have a related question: Is there a way to submit a solution to codejam from an online IDE?
For a large part of the qualifier, I had access to my iPhone/iPad, but not to my laptop - so no IDE, no programming environment (python for me) in which to test code and no equivalent of local files that I could upload to the server even if I tested via ideone. You may be in a similar situation if you use a public computer (e.g. student, can't afford own computer, at a friend's house, on holiday...) to which you don't have admin rights to install a development environment. I ended up using ideone to test out some of my ideas along the way, but finished off later when I had access to my laptop. For those of you thinking of using it, it's worth noting that ideone might run your code more slowly than your regular computer, and that the execution time is severly limited to 5 seconds (for anonymous users) or 15 seconds (if you're logged in) - significantly less than the 4/8 minutes that the codejam contest gives you! For example, my solution for C (Recycled Numbers) takes ~7.3 seconds on ideone with the largest possible 1-case input for my solution: 1 1000000 2000000 ...but this is just 1 case - I'd need to be able to handle a 50-case input! However if I run this on my laptop it takes only 5s. Running this under PyPy on my laptop takes only 0.2s! (If you're interested, here's my solution - http://ideone.com/tC6Zs - you can view it, but if you try to re-run it with the inputs above as an anonymous user, you'll probably see the message 'time limit exceeded' as it takes 7s!) Baris On 15 April 2012 18:38, Bartholomew Furrow <[email protected]> wrote: > If you use ideone, make sure to press the "private" button so nobody else > copies your code during a contest. > > > On Sun, Apr 15, 2012 at 10:01 AM, teja pratap <[email protected]>wrote: > >> ideone.com >> >> On Sat, Apr 14, 2012 at 5:56 PM, Prateek Kushwaha >> <[email protected]> wrote: >> > Can anyone suggest a good online IDE where you can run your code ? >> > I got the output of question 3 "Recycled Numbers"- Small part >> correctly, but >> > the large part is taking too long to run and the time expired. Any >> > suggestions ? >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Google Code Jam" 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. >> >> >> >> -- >> Sai Teja Pratap, >> BTech 3rd Year, >> Dept of CSE, IIT Bombay >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Code Jam" 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 Code Jam" 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 Code Jam" 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.
