Offline Euler...
-
omagasohe
- Posts: 1
- Joined: Wed Mar 24, 2010 4:24 pm
Offline Euler...
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.
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Offline Euler...
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.
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.

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...
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.
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Offline Euler...
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.
The website currently makes such behaviour impossible by imposing a waittime between successive trials.
I think it should be something better than that.

War ruins the life and health of untold numbers of innocent children.
- remy72
- Posts: 296
- Joined: Thu May 21, 2009 3:41 pm
Re: Offline Euler...
we could iterate the hash function n times, and take n big enough so it would take a few seconds on a modern computerhk 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.
(edit)
and hash the problem number as well
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Offline Euler...
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.
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.

War ruins the life and health of untold numbers of innocent children.