ja / en
Overview

romophic-library

2024/07/30
2 min read

This is a somewhat loose compilation of the library I originally maintained at github.com/romophic/Compro. I was recommended to treat it like a bonsai tree, so I started.
Prerequisite Template:

#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
#define int long long
#define double long double
#define uint unsigned long long
#define int128 __int128
#define uint128 unsigned __int128
using namespace std;
constexpr int INF = 1LL << 60;
template <class T>
bool chmax(T &a, const T &b) { return a < b ? a = b, 1 : 0; }
template <class T>
bool chmin(T &a, const T &b) { return a > b ? a = b, 1 : 0; }

Algorithms

Graph

Data Structures

Mathematics

Strings

Miscellaneous

Heuristics

Libraries that Helped Me

I implemented these by referring solely to places that explicitly permit free usage.