atcoder
folder in the ac-library
folder, after extracting the zip file.g++ main.cpp -std=c++14 -I .
with putting atcoder
folder on the same place as main.cpp
.-std=c++14
or -std=c++17
.unsigned int
→ uint
long long
→ ll
unsigned long long
→ ull
#include <atcoder/all>
: include everything
#include <atcoder/fenwicktree>
#include <atcoder/segtree>
#include <atcoder/lazysegtree>
#include <atcoder/string>
#include <atcoder/dsu>
#include <atcoder/maxflow>
#include <atcoder/mincostflow>
#include <atcoder/scc>
#include <atcoder/twosat>
The header files in atcoder
folder are licensed under a CC0 license. See atcoder/LICENSE
for further details.