TIP: Click on subject to list as thread! ANSI
echo: cbm
to: ArcadeAge
from: Anssi Saari
date: 2018-12-15 14:43:16
subject: Re: Day 6 of Advent of Code in Commodore 128 Basic

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 | FidoUsenet Gateway (3:770/3)
SEEN-BY: 57/0 153/250 267/800 317/2 393/68 633/0 267 280 281 412 712/848 770/0
SEEN-BY: 770/1 3 100 340 772/0 1 210 500
@PATH: 770/3 1 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.