Skip to content

Latest commit

 

History

History

2022

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Solutions written in Scheme

Installation

Scheme

Requires a Scheme (R6RS) implementation, such as Chez.

C

Requires a C99-compliant compiler. Solutions can be built with the provided Makefile.

Usage

Problem inputs are read from STDIN:

# Scheme solutions for day n
chezscheme --script n.ss < input.txt

# C solutions for day n
make day_n
./day_n < input.txt

The solutions to both parts of the problem are then printed:

... solution here ...
... solution here ...