Subj : Re: Day 6 of Advent of Code in Commodore 128 Basic To : ArcadeAge From : Anssi Saari Date : Sat Dec 15 2018 02:43 pm ArcadeAge writes: > Does the challenge consist in writing a fully general solution to the > mathematical problem? Or are they content if your program can solve > the given major problem? Specific problem solving only, they expect a specific result from a specific set of input data. One assumes they check the answers automatically. > Would it be a lot of work to devise a problem instance that is too > hard to solve by hand but still can be solved by a standard Commodore > 128 within a few minutes? Probably not. I looked at the first two problems, both have two parts. I think a C64 (or 128) can easily do three of them. The fourth needs some memory where 64 or 128 KB is not enough and I at least can't see a way around that. Maybe with a RAM expansion. I wouldn't want to do that with a floppy drive although a 1581 would work. And now that I've thought that far, maybe I have to do just that :) I actually tried doing one of the Euler project problems on a C64. After a lot of head scratching the problem reduced to 400 additions which of course a C64 can do easily. Only problem was, the result needed about 36 bits and cc65 only has 32-bit integers. --- SoupGate-Win32 v1.05 * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3) .