Search found 17 matches

by markobr
Thu Oct 14, 2010 3:11 pm
Forum: Challenges Solved
Topic: A Repeat of Pi
Replies: 21
Views: 1954

Not really fast but quite perlish with substr and =~ : $min_len = 2; STELLE: for ($stelle = 0; $stelle < 1000000; ++$stelle) { LEN: for ($len = $min_len; $len < (1000000 - $stelle); ++$len) { $folge = substr($pi,$stelle,$len); $rest = substr($pi,$stelle+$len); if ($rest =~ /$folge/) { $max = $folge;...
by markobr
Thu Oct 14, 2010 1:12 pm
Forum: Challenges
Topic: Didactic Text 4
Replies: 20
Views: 43778

I solved it after some problems with the question of, er, absolute vs. relative encoding. But there seem to be a few bits which you can't use in the solution - is there anything about them?
by markobr
Wed Oct 13, 2010 8:33 pm
Forum: Challenges Solved
Topic: Lettered
Replies: 8
Views: 757

at first i tried just submitting the decoded string and it failed, tried with urlencoding because i thought it was firefox unable to submit these special chars. then i just looked at it and it was clear: pourcoffee :) Almost the same with me, although I didn't try urlencoding but looked for charact...
by markobr
Wed Jun 16, 2010 3:09 pm
Forum: Challenges Solved
Topic: Lazy Maze
Replies: 26
Views: 2074

I solved it with pen and paper which actually wasn't that time-consuming once I knew some properties of the maze and correctly guessed where the exit might be.
by markobr
Tue Jun 15, 2010 9:53 pm
Forum: Challenges
Topic: Your Turn, Part Two
Replies: 48
Views: 49793

Yep, to me it sends 8 requests and accepts answers in text/plain.

And just a remark from the nitpicker in me: What I write to solve this is technically not a "server" (which would listen on a port) but a CGI script (which is called by the webserver already in place).
by markobr
Tue Jun 15, 2010 9:11 pm
Forum: Challenges Solved
Topic: Smell as Sweet
Replies: 15
Views: 1275

Interesting - I didn't know nor find out that wireshark works this way round, too. But I did find out that vim has a mode for binary editing. Getting everything correct this way did take a few minutes more I think, but worked well enough.
by markobr
Mon Jun 14, 2010 11:23 pm
Forum: Challenges
Topic: Imagine all the silicon
Replies: 13
Views: 22307

Re: Imagine all the silicon

What is the point of Imagine all the silicon challenge? There is nothing to look for :? Indeed, what is the point? For Ubuntu users the "challenge" consists in being able to read - and to realise there is indeed no other challenge. Well, this may be fair insofar as there are other challen...
by markobr
Wed May 26, 2010 1:13 pm
Forum: Challenges
Topic: Melodic
Replies: 27
Views: 37879

I used Audacity to play just one or two notes of the tune (not necessaryly in the original order) so I could compare them easily. The rest was singing and humming (and counting).
by markobr
Tue May 25, 2010 8:53 pm
Forum: Challenges
Topic: Too Many Digits
Replies: 26
Views: 34262

Now this was a fine challenge which taught me something new about the Hypertext Transfer Protocol.
by markobr
Tue May 25, 2010 10:35 am
Forum: Challenges Solved
Topic: More Dastardly
Replies: 10
Views: 1135

by markobr
Sat May 22, 2010 10:34 am
Forum: Challenges Solved
Topic: Affirmative
Replies: 15
Views: 1620

My solution in bad Perl:

Code: Select all

print $_ == 0 ? chr(hex($_)) : $_ < 60 ? "*" : " " foreach @chars;
where @chars contains the hex values.
by markobr
Fri May 21, 2010 8:44 pm
Forum: Challenges Solved
Topic: CipherQuest A
Replies: 3
Views: 492

I soon decrypted the word "the" which led to more function words and made it easy to find out the rest.
by markobr
Fri May 21, 2010 1:19 pm
Forum: Challenges
Topic: Breakout / Breakout Extreme
Replies: 24
Views: 44578

I can't get past level 1 in Breakout because the applet freezes after I finish it. It shows "Level 2" and "Lifes Left: 4" but no blocks are displayed nor does pressing any keys have an effect. Is this part of the challenge, or is there a bug in the applet or my browser installati...
by markobr
Fri May 21, 2010 12:35 am
Forum: Challenges Solved
Topic: The Powers That Be
Replies: 27
Views: 3072

Perl

Code: Select all

use bignum;
$r = ((17 ** 39) ** 11);
for ($i = 0; $i < length($r); $i += 33) {
	print substr($r,$i,1);
}
print "\n";
by markobr
Thu May 20, 2010 10:32 pm
Forum: Challenges Solved
Topic: UpCount
Replies: 28
Views: 2520

I didn't have a java compiler at hand, so I translated it to Perl. Runs without problems and in a fraction of a second. Now what's the challenge?