Problem 227

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.

This forum is NOT meant to discuss solution methods for a problem.

In particular don't post any code fragments or results.

Don't start begging others to give partial answers to problems

Don't ask for hints how to solve a problem

Don't start a new topic for a problem if there already exists one


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
User avatar
mpiotte
Administrator
Posts: 1961
Joined: Tue May 08, 2012 5:40 pm
Location: Montréal, Canada

Re: Problem 227

Post by mpiotte »

tommyjcarpenter wrote: Fri May 19, 2017 3:21 pm On page one of this thread, Robert Gerbicz says

"No, read the wikipedia's article! For this problem, because the answer will be in [1000,10000) the submitted answer should be in the form: abcd.efghij
(and use rounding to get the last digit)."

On page two of this thread, daniel.is.fischer says

"Ten significant digits is abc.defghij.
I'll take a look."

Which one is it?
Implied in Daniel's answer is "If the answer is in the interval [100, 1000[, (but it is not), ten significant digits is abc.defghij."
Robert's answer is more specific.
Image
User avatar
Circling
Posts: 23
Joined: Wed Sep 16, 2020 7:33 am
Location: Turkey
Contact:

Re: Problem 227

Post by Circling »

The answer is of the form xxxx.xxxxxx . I think the difference between "significant figures" and "digits after the decimal point" should be made clearer, since that difference made me waste half an hour with stuff like Monte Carlo simulations and Python's fractions library to deal with what appeared to be a precision issue.
Problem 84 sux!!!
Post Reply