atcoder-cpp-snippets README
Features
This is a C++ snippet for AtCoder.
Prefix |
Description |
stmplt |
simple template |
tmplt |
competitive programming template |
ntemplt |
template for n and array of size n |
nmtmplt |
template for handling n and m |
ffor |
Double for-loop |
vi |
vector<int> |
vl |
vector<ll> |
vs |
vector<string> |
vv |
two-dimensional array |
mpii |
map<int,int> |
mpll |
map<ll,ll> |
oen |
output with newline |
oans |
output ans |
oy |
output yes |
on |
output no |
comb |
combination calculation |
convertb |
Library for base conversion |
fprifa |
Prime factorization |
gcdlcm |
gcd,lcm |
editdist |
edit distance |
fg01bsf |
0-1 Breadth-First Search on Grid Graph |
fgbsf |
Breadth-First Search on Grid Graph |
fdijk |
Dijkstra's algorithm |
fisP |
Prime number determination |
lcsfunc |
Longest Common Subsequence |
ispal |
Palindrome check |
fcumsum |
forward Cumulative sum calculation |
bcumsum |
Backward Cumulative sum calculation |
sbit |
bit search |
binse |
binary search |
Enjoy!
| |