Yeah, the time limits on ideone mean any solution that works but is borderline slow won't work out. I've written plenty of gcj solutions that had a runtime of a minute or two. Or even 20 seconds, which is pushing it for ideone. It's a lot faster to wait 2 minutes (and get a headstart on the next problem description) than to figure out another optimization.
I have an alternative suggestion for you. Amazon EC2. They cost 8.5 cents an hour, you'd need it for about 6 hours (I'm including some practicing time, and installing go and a few other tools, and getting familiar with ec2), so that's half a dollar. You can pick a ready-made ubuntu 'AMI' (amazon disk image). Install go, apt-get a few useful command line tools (vim or emacs), or use a 'mount remote system as a disk via ssh' tool (There's one for macs called MacFuse, developed by google no less, I presume there's something similar for windows), so you can edit your go program. The major disadvantage here is that AMI boxes aren't that fast, so what my processor would chug through in 2 minutes will probably 'time out' (exceed 8 minutes) on a standard EC2 virtual box. You could instead spring for the biggest virtual machine you can get. An Extra- Large high CPU is $0.68 an hour. You can prepare an AMI image with just the environment you need so you only launch the high CPU for the contest itself. Alternatively, install Sun VirtualBox on your windows computer and install linux on that. On Jun 1, 11:56 am, Luke Pebody <[email protected]> wrote: > I would quite like to use GO as a programming language in future Jams. > However, since I use Windows, I would need to use an online server > like ideone.com to run my programs. Would this be allowed, or would it > count as sharing my code? -- 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.
