FAQ  •  Login

Level 24

Moderators: UncleTimmy, mjpieters

Enjoying the challenge? Need a hint?
Make a donation and help keep the site running! -thesamet
<<

noffa

Posts: 2

Joined: Thu Jun 02, 2005 3:58 pm

Location: Tromsø

Post Thu Jun 02, 2005 9:51 pm

Gah... stuck

I've solved the maze and taken l__s. I've tried various stuff with the resulting path, but all it looks like is a map of Mars... Should I continue trying searching for dimensions, or is it simply irrelevant that 44622 is not a prime?

BTW: Let me express my utter joy in this challenge. After discovering this site the days of my paternity leave just fly by :D
<<

noffa

Posts: 2

Joined: Thu Jun 02, 2005 3:58 pm

Location: Tromsø

Post Thu Jun 02, 2005 10:20 pm

Re: Gah... stuck

noffa wrote:I've solved the maze and taken l__s. I've tried various stuff with the resulting path, but all it looks like is a map of Mars... Should I continue trying searching for dimensions, or is it simply irrelevant that 44622 is not a prime?


I was barking up the completely wrong tree. To answer myself, It is irrelevant that 44622 is prime.
<<

ciaron

Posts: 6

Joined: Wed May 25, 2005 6:18 am

Location: Berlin, Germany

Post Fri Jun 10, 2005 3:26 am

what next?

Hi,

I've solved the maze (three different ways, until I was able to get good l___s!), now I'm stuck with what those l___s tell me. I can see headers, but like ibis said, I can't process this data with either python or non-python tools. Do I need to do something with this file, or have I got a corrupt one if I can't just do-the-obvious?

Thanks in advance,

Ciaron.
<<

mjpieters

Site Admin

Posts: 172

Joined: Wed May 04, 2005 8:56 am

Location: Norway

Post Fri Jun 10, 2005 3:52 am

Re: what next?

ciaron wrote:I'm stuck with what those l___s tell me. I can see headers, but like ibis said, I can't process this data with either python or non-python tools.


As rspyc said earlier in this thread, you only need about half of what you found..
<<

ciaron

Posts: 6

Joined: Wed May 25, 2005 6:18 am

Location: Berlin, Germany

Post Fri Jun 10, 2005 4:13 am

Re: what next?

mjpieters wrote:
ciaron wrote:I'm stuck with what those l___s tell me. I can see headers, but like ibis said, I can't process this data with either python or non-python tools.


As rspyc said earlier in this thread, you only need about half of what you found..


I've already gotten rid of about half - my file is 22090 bytes. I'll go and check what I've done...

Update: Solved! It pays to be a bit more discriminating about what you get rid of and what you keep.
<<

drigz

Posts: 23

Joined: Sat May 21, 2005 9:41 am

Post Mon Jun 20, 2005 3:48 pm

I can't work out what to remove from the file of length 22090...
<<

imp

Posts: 8

Joined: Wed Jun 15, 2005 9:15 am

Location: Hungary

Post Mon Jun 20, 2005 5:32 pm

drigz wrote:I can't work out what to remove from the file of length 22090...


i would say: "it is the gods' colour. You will need their help today."
<<

drigz

Posts: 23

Joined: Sat May 21, 2005 9:41 am

Post Tue Jun 21, 2005 11:52 am

imp wrote:
drigz wrote:I can't work out what to remove from the file of length 22090...


i would say: "it is the gods' colour. You will need their help today."


If you have a file of length 22090, think of which types of byte this misses.

noffa wrote:To answer myself, It is irrelevant that 44622 is prime.


I disagree on two counts:
a) Its primeness is relevant
b) It isn't prime :D
<<

imp

Posts: 8

Joined: Wed Jun 15, 2005 9:15 am

Location: Hungary

Post Tue Jun 21, 2005 12:56 pm

drigz:
well, 22090 isn't the magic number...
i suppose, you got it from top to bottom, and you had the number 44622;
then, take a close look at the *original* picture itself. things aren't just black and white...
<<

ajohnson

Posts: 38

Joined: Fri May 13, 2005 2:16 pm

Post Thu Jun 23, 2005 3:52 pm

That was fun!
<<

JohnWhitlock

Posts: 4

Joined: Sat May 28, 2005 6:43 am

Post Fri Sep 23, 2005 9:11 am

Windows XP users at disadvantage

This challenge took about 8 hours longer than it should have, because I was using Windows XP, which added native support for this file format. Both the XP support and the normal Python module recognized the file type, but were unable to correctly handle trailing data. Perhaps the tools on other OS or third-party tools are more flexible, reporting errors rather than choking.

On the plus side, I gained some familiarity with Idle's debugging tools, and even crossed the line to hack into a library module to make it noisier but less discriminating. I might be a step ahead now for a future challenge...
<<

superbeaker

Posts: 1

Joined: Fri Feb 10, 2006 10:57 am

Post Fri Feb 10, 2006 10:59 am

I'm still stuck on this one. I have a 22090 byte file and I can see that it's 'broken' in the hex editor but I don't understand how to fix it. I know the gods' color as well. What little thing am I missing?
<<

mudboy

Posts: 5

Joined: Tue May 09, 2006 4:53 am

Post Fri Jun 02, 2006 8:38 am

Its not just red or black its both
<<

hth308

Posts: 2

Joined: Mon Aug 13, 2007 6:52 am

Post Mon Aug 13, 2007 7:14 am

EDIT: Solved. Finally. It showed that due to a bug in my A* implemetation, the only way I could find a way through the maze was by walking the walls. I deleted my actual posting, as the only thing it could possibly have caused is further confusion.
Last edited by hth308 on Tue Aug 21, 2007 6:55 pm, edited 1 time in total.
<<

hth308

Posts: 2

Joined: Mon Aug 13, 2007 6:52 am

Post Tue Aug 14, 2007 4:10 pm

Hm... Seems that I'm a year or two too late. ;-)
PreviousNext

Return to Python Challenge Hints

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.