Skip to content

jasagredo/advent-of-prolog-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Store the input in a file NUM.txt (NUM padded to two digits with zeroes), then run:

> scryer-prolog NUM.pl
Task 1: <SOLUTION1>
Task 2: <SOLUTION2>
% CPU time: <TIME>, <INF> inferences

I use this ~/.scryerrc which problably is overloaded but it does the job:

:- use_module(library(arithmetic)).
:- use_module(library(assoc)).
:- use_module(library(between)).
:- use_module(library(charsio)).
:- use_module(library(clpz)).
:- use_module(library(dcgs)).
:- use_module(library(debug)).
:- use_module(library(dif)).
:- use_module(library(format)).
:- use_module(library(lambda)).
:- use_module(library(lists)).
:- use_module(library(ordsets)).
:- use_module(library(pio)).
:- use_module(library(reif)).
:- use_module(library(time)).

About

Scryer prolog solutions to advent of code 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages