home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 117,590 of 117,927   
   minforth to All   
   Re: Projecteuler, the CAKE problem.   
   30 Sep 25 18:17:01   
   
   From: minforth@gmx.net   
      
   Am 29.09.2025 um 11:23 schrieb albert@spenarnc.xs4all.nl:   
    > There is a hard (level 100) problem in projecteuler 566,   
    > it is an intriguing problem about cutting a cake and flipping   
    > parts of it. Then it magically returns to the original   
    > situation where all the frosting is up. The cuts are irrational.   
    > It is a bit theoretical, because million even billions cuts   
    > are needed.   
    > After years I came back to it, and I'm proud to announce that   
    > it has been solved by a Forth program.   
    >   
    > It has been posed june 2016 and I was the 266th solver.   
      
   Congratulations!   
      
   I had a brief look at the task, and it seems to me that the challenge   
   lies more in the mathematical modelling than in the programming.   
   I did not look up solutions in other languages, e.g. Haskell, but the   
   fact that Forth can be forged into tools for so many application   
   or problem classes speaks for its flexibility.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca