Skip to content

Instantly share code, notes, and snippets.

@ctsk
ctsk / Cargo.lock
Created March 26, 2025 12:15
Lockfile for branch-28
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "addr2line"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
dependencies = [
# /CMakeLists.txt
# ========= #
# DSE TASKS #
# ========= #
cmake_minimum_required(VERSION 3.25)
project(dse-tasks)
# =============== #
# COMPILE OPTIONS #
@ctsk
ctsk / alltrees.pl
Created August 14, 2022 10:01
Describes all binary trees of a given size
tree(leaf).
tree(node(Left, _, Right)) :-
tree(Left),
tree(Right).
pairs(N, L, R) :-
succ(N1, N),
between(0, N1, L),
plus(R, L, N1).