Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #10668

Re: Euler problem 303

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: Euler problem 303
Date 2012-03-31 13:30 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2012Mar31.153037@mips.complang.tuwien.ac.at> (permalink)
References <2012Mar30.170245@mips.complang.tuwien.ac.at> <m1qz5u.571@spenarnc.xs4all.nl>

Show all headers | View raw


Albert van der Horst <albert@spenarnc.xs4all.nl> writes:
>In article <2012Mar30.170245@mips.complang.tuwien.ac.at>,
>Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>>Project Euler has lifted the thread length limit, so I did another
>>problem:
>>
>><http://projecteuler.net/problem=303>
>
>If you do a fairly recent problem (like a half year)
>chances are slim that there are already 100 posts
>in the forum anyway. The first 100 are kept for eternity.
>I have checked a couple of the problems of the last year.
>One in ten of the solvers do a write up. So if you solve
>a problem with less than 1000 solvers up to date, you are
>likely to be one of the first 100 publishers.

Maybe.  Still, the thread length limit dampened my enthusiasm enough
that I did not take on any more problems.  After all, one should not
discuss the solution elsewhere, one could not discuss the solution
there; that was not very attractive.

> I don't remember overflow much to this particular
>problem, though.

No, you used a completely different approach.  However, given that
f(9999) does not fit in 64 bits, a straightforward solution will have
that problem.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2011: http://www.euroforth.org/ef11/

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Euler problem 303 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-03-30 15:02 +0000
  Re: Euler problem 303 Paul Rubin <no.email@nospam.invalid> - 2012-03-30 22:30 -0700
    Re: Euler problem 303 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-03-31 13:08 +0000
      Re: Euler problem 303 Paul Rubin <no.email@nospam.invalid> - 2012-04-01 00:51 -0700
        Re: Euler problem 303 Paul Rubin <no.email@nospam.invalid> - 2012-04-01 01:46 -0700
          Re: Euler problem 303 mhx@iae.nl (Marcel Hendrix) - 2012-04-01 12:00 +0200
            Re: Euler problem 303 Paul Rubin <no.email@nospam.invalid> - 2012-04-01 12:57 -0700
              Re: Euler problem 303 Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-04-01 23:34 +0000
                Re: Euler problem 303 Paul Rubin <no.email@nospam.invalid> - 2012-04-01 17:19 -0700
          Re: Euler problem 303 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-04-02 10:53 +0000
  Re: Euler problem 303 Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-03-31 11:41 +0000
    Re: Euler problem 303 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-03-31 13:30 +0000
      Re: Euler problem 303 Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-03-31 18:27 +0000

csiph-web