Search found 45 matches

by efe
Thu Sep 08, 2011 10:13 am
Forum: Challenges
Topic: Real Simple Access
Replies: 14
Views: 19933

Ok, now I solved it with the new modulus :)
by efe
Thu Sep 08, 2011 9:49 am
Forum: Challenges
Topic: Real Simple Access
Replies: 14
Views: 19933

Hmmm.... I think that now Alice nor Charly can decrypt the message. The number must be smaller than the modulus as Tron said!
by efe
Sat Oct 09, 2010 1:52 pm
Forum: The Hacker's Server
Topic: Berma calculation
Replies: 10
Views: 17839

This python code shows me all solutions in range 0..9999:

Code: Select all

for n in range(10000):
	s = sum((n-1)%m for m in range(2,7))
	if s==0 and (n%7)==0:
		print n
If you like math, you can prove that { 301+k*420 for k=0,1,2,3,... } is the set of all solutions.
So, the minimum number of eggs is 301.
by efe
Sun Aug 08, 2010 9:47 am
Forum: Challenges
Topic: Duke Box
Replies: 26
Views: 47718

I've identified all of the songs but still don't know what to do with the song titles or artists.
Maybe the answer is hiding somewhere else...
by efe
Sun Nov 22, 2009 3:52 pm
Forum: Challenges Solved
Topic: Surely Smallester Mouse
Replies: 23
Views: 9647

@tails & @teebee thats my solution too !
by efe
Sun Jun 14, 2009 6:16 pm
Forum: Challenges Solved
Topic: Who goes there?
Replies: 22
Views: 9818

solved it on the first try :lol:
by efe
Fri May 22, 2009 2:33 pm
Forum: Challenges
Topic: Hack VM (initial memory file) [answered]
Replies: 3
Views: 8965

But you can assume that all memory cells are initialized with zero.
by efe
Wed Apr 08, 2009 3:27 pm
Forum: Challenges Solved
Topic: rangearmentRe
Replies: 19
Views: 3874

gfoot: using the stat system call would be of course more efficient ... ...and the code gets even smaller: import os f = open("img.png","wb") for path,dir,files in os.walk("manyfiles"): for file in files: f.write(chr(os.stat(os.path.join(path, file)).st_size)) f.close()
by efe
Sat Mar 28, 2009 10:20 am
Forum: Challenges
Topic: Super Small Hello World
Replies: 6
Views: 14340

That is in fact a display problem in the javascript implementation.
Space instructions appear in the trace when using the PHP implementation, however...
and of course they count as cycles!
by efe
Sat Mar 21, 2009 1:11 pm
Forum: Challenges Solved
Topic: Don't fear the Maths
Replies: 9
Views: 1183

The Comic is adapted from XKCD.

Image
by efe
Fri Mar 20, 2009 6:54 pm
Forum: Challenges Solved
Topic: Rainbow in the Dark
Replies: 3
Views: 1112

Rainbow in the Dark

It took me quite a while until I figured out the correct sort sequence of the pixels. This was very helpful: http://en.wikipedia.org/wiki/HSL_and_HSV#Conversion_from_RGB_to_HSL_or_HSV :) Here is my Python Code: import Image img = Image.open("rainbow.png") pixel = img.load() width,height = ...
by efe
Wed Mar 18, 2009 3:41 pm
Forum: Challenges Solved
Topic: rangearmentRe
Replies: 19
Views: 3874

rangearmentRe

Nice challenge!
It is quite easy if you use the right tools. :D

Code: Select all

import os
f = open("img.png","wb")
for path,dir,files in os.walk("manyfiles"):
	for file in files:		
		f.write(chr(len(open(os.path.join(path,file)).read())))
f.close()
by efe
Wed Mar 11, 2009 9:12 pm
Forum: The Hacker's Server
Topic: Danger - don't read this
Replies: 13
Views: 12679

adum has just fixed that issue, so you may now safely click the link - and nothing will happen to your PM's !
by efe
Wed Mar 11, 2009 2:46 pm
Forum: The Hacker's Server
Topic: Danger - don't read this
Replies: 13
Views: 12679

Danger - don't read this


I've warned you!

Don't click here: http://bit.ly/dontclickme

by efe
Tue Mar 10, 2009 9:58 pm
Forum: Challenges
Topic: Like a 8411
Replies: 24
Views: 35404

The result must be submitted 'like a 8411' :P