Search found 269 matches

by gfoot
Wed Aug 17, 2011 6:52 pm
Forum: Challenges
Topic: Anybody Out There?
Replies: 22
Views: 28441

When you work out the answer, it'll be obvious what you need to submit.
by gfoot
Mon Jul 18, 2011 10:59 am
Forum: Runaway Robot Puzzle
Topic: Best algorithms?
Replies: 16
Views: 63865

Is that for all the levels, or just level 513? My final algorithm, implemented in Python, solved all the levels in under two seconds each, and took about a minute to solve them all in sequence (without redownloading them).
by gfoot
Wed Jul 13, 2011 11:45 pm
Forum: Challenges
Topic: Countdown Calc
Replies: 18
Views: 26405

Wine is mostly a Win32 API implementation, so you only need it for things that use the Win32 API. Pure CIL assemblies that don't use Win32 APIs can be executed through native Linux mono.
by gfoot
Mon Jun 13, 2011 7:53 pm
Forum: General Puzzles
Topic: Marking of solved/unsolved challenges
Replies: 4
Views: 19762

For me, it changes the colours when you hover over the dots, and doesn't put them back properly.
by gfoot
Mon Jun 13, 2011 7:50 pm
Forum: Mortal Coil
Topic: New levels: 1107 to 1206
Replies: 9
Views: 35518

I'd be really interested to see what that level looks like - would it be OK to share it?
by gfoot
Mon Nov 01, 2010 9:26 pm
Forum: Challenges Solved
Topic: Spiral Bits
Replies: 31
Views: 2586

I don't think it's fair to complain that the challenge is too tedious to solve by hand - the whole point is to write a program. Having to do it a second time is exactly the reason you should always automate tedious tasks anyway, even if you don't expect to need to repeat the job. But having said tha...
by gfoot
Fri Oct 15, 2010 5:59 pm
Forum: Challenges Solved
Topic: Delegates
Replies: 17
Views: 2030

You can derive the sum of squares expression from the n(n+1)/2 identity: 1) Expand out sum<1,n>(2x-1) and you'll see that it's equal to n^2 2) Hence the sum of the first n squares has n 1s, n-1 3s, n-2 5s, and so on - so it's sum<1,n>((n-x+1)(2x-1)) 3) Expand that out into separate sums and solve fo...
by gfoot
Thu Oct 07, 2010 12:17 am
Forum: The Hacker's Server
Topic: Berma calculation
Replies: 10
Views: 16964

It depends whether "still one egg remaining" means there might be more than one. Either way, though, it's true that there's no single solution.

I suspect she was lying anyway - even the smallest solution is quite a lot of eggs.
by gfoot
Thu Oct 01, 2009 10:05 pm
Forum: Challenges
Topic: Maeda Path?
Replies: 12
Views: 17785

I think people have written high-level bots to play Guitar Hero, which monitor the video stream from the console and submit controller inputs. Proper bots. :)
by gfoot
Tue Aug 25, 2009 9:06 pm
Forum: OneOfUs
Topic: Huge differences between people's level.
Replies: 7
Views: 27080

The leaderboard says otherwise...
by gfoot
Thu Jul 23, 2009 7:42 am
Forum: Challenges Solved
Topic: Delegates
Replies: 17
Views: 2030

Yes, integer division rounds. But if you write 10.0 explicitly then it will force it to use double-precision floating point instead. But dividing by 10 and then multiplying by five, without rounding, is the same as dividing by two. You've picked C up pretty quickly! But some of your syntax is odd or...
by gfoot
Wed Jul 22, 2009 12:35 pm
Forum: Challenges
Topic: Help me find the love of my life...
Replies: 7
Views: 11391

She's also only 13. Whatever you had at that age was surely nothing special - there are plenty more fish in the sea.
by gfoot
Tue Jul 21, 2009 10:16 pm
Forum: Challenges
Topic: Random Problem Challenge
Replies: 8
Views: 16134

It's asking specifically for a value for 'randomNumber', which is declared as an int, so your answer has to be a valid int. I don't think 2147483647 will cause an exception, so no, that's not the answer, and higher numbers are not valid ints, so they don't count as answers either.
by gfoot
Sun Jul 19, 2009 11:37 am
Forum: Challenges
Topic: Deluge
Replies: 7
Views: 18201

I think your assumptions are correct. I seem to remember it just says you failed to flood correctly even if the actual problem was an error, e.g. exceeding the cycle count. So if your algorithm does work on test images, but not when submitted, it's likely that it's just taking too many cycles, and y...
by gfoot
Thu Jul 09, 2009 9:49 pm
Forum: Challenges
Topic: Confused on what a challenge is asking?
Replies: 48
Views: 81890

There should be no doubt about the right answer for Anybody Out There - if you work out what the numbers mean then it will be obvious.