summaryrefslogtreecommitdiff
path: root/other/stuff.cpp
blob: e3bbed6a8db155afa649f5038e524f0be563fc7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Alles-Header.
#include <bits/stdc++.h>

// Setzt das deutsche Tastaturlayout.
setxkbmap de

// Schnelle Ein-/Ausgabe mit cin/cout.
ios::sync_with_stdio(false);
cin.tie(nullptr);

// Set mit eigener Sortierfunktion.
set<point2, decltype(comp)> set1(comp);

// STL-Debugging, Compiler flags.
-D_GLIBCXX_DEBUG
#define _GLIBCXX_DEBUG

// 128-Bit Integer/Float. Muss zum Einlesen/Ausgeben
// in einen int oder long long gecastet werden.
__int128, __float128

// float mit Decimaldarstellung
#include <decimal/decimal>
std::decimal::decimal128

// 1e18 < INF < Max_Value / 2
constexpr long long INF = 0x3FFF_FFFF_FFFF_FFFFll;
// 1e9 < INF < Max_Value / 2
constexpr int INF = 0x3FFF_FFFF;