The version of this document may differ from the one which is installed in AtCoder, AtCoder-installed version is here.
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 files are licensed under a CC0 license, except for the third-party libraries located in the /document_en/lib
, /document_ja/lib
directory.