Offline Euler...

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
omagasohe
Posts: 1
Joined: Wed Mar 24, 2010 4:24 pm

Offline Euler...

Post by omagasohe »

I'm in the navy, and I spend a vast amount of my time at sea. due to various factors, i often can spend days or weeks with out internet connection. Project Euler has been a god send,and i did over 50 problems underway. But the problem i run in to is that when i have an internet connection, The captcha expire before the solutions can be processed. So my first question is, can a way be devised that the questions be available in an offline format, as i have a really hard time getting pages to load completely. Now for the ethics part. I created a program to check answers, useing a freely available listing, i didn't look at the answers, and the program only says correct, or incorrect exactly the way project euler says it. is this still cheating? it still takes a few hours of trying to get an answer through, but it does allow me to check my work, and move on to the next problem. I do want to say i love this site, and it's a blessing to have something so mentally stimulating to work on, but the fustration factor is high out to sea.
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Offline Euler...

Post by hk »

About the ethics, here is my personal view:
You and you alone decide what is ethical under your circumstances.
If under your circumstances it is preferable to use an answers list you found on the internet and use it the way you describe, I see no problem. However, as far as Project Euler is concerned: you do so at your own risk. The available answers lists are falling outside our own responsibility.
What it boils down to is: what you do with the Project Euler problems on your own computer is your own responsibility.
I'm glad our problems help you through a lot of lonesome hours.

I will think of a way to check your answers offline.
Image
War ruins the life and health of untold numbers of innocent children.
TripleM
Posts: 384
Joined: Fri Sep 12, 2008 3:31 am

Re: Offline Euler...

Post by TripleM »

It shouldn't be too hard to provide a page with the md5 value of all the answers? If so, it would be easy for anyone to write their own checking program without any issue of revealing answers.
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Offline Euler...

Post by hk »

Suppose we were to do that for the newest problem and suppose it is clear that that problem has an answer with less than 10 digits, wouldn't that be too easy to break? Simply calculate all md5 hashes for those numbers and voila.
The website currently makes such behaviour impossible by imposing a waittime between successive trials.
I think it should be something better than that.
Image
War ruins the life and health of untold numbers of innocent children.
User avatar
remy72
Posts: 296
Joined: Thu May 21, 2009 3:41 pm

Re: Offline Euler...

Post by remy72 »

hk wrote:Suppose we were to do that for the newest problem and suppose it is clear that that problem has an answer with less than 10 digits, wouldn't that be too easy to break? Simply calculate all md5 hashes for those numbers and voila.
The website currently makes such behaviour impossible by imposing a waittime between successive trials.
I think it should be something better than that.
we could iterate the hash function n times, and take n big enough so it would take a few seconds on a modern computer :)
(edit)
and hash the problem number as well
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Offline Euler...

Post by hk »

Hashing the problem number as well doesn't help: that is a known part of the string to hash.

I think we shouldn't tell what has been done and provide a program that does the job.
In addition this program could have a pause of one or two minutes before it gives its judgement.
And of course no commandline version but a field to enter the answer in.

But of course we shouldn't discuss the workings of such a program in the open.
Image
War ruins the life and health of untold numbers of innocent children.
Post Reply