Imoのアルゴリズムライブラリ
ICPC用アルゴリズムライブラリになる予定です。
まだ内容はほとんどないです。
まだ内容はほとんどないです。
追加する予定の内容
typhoon
fenwick
他
fenwick
他
プログラムをする時のテンプレート
以下バッドノウハウの詰まったテンプレートです。
#include <stdio.h> #include <math.h> #include <string.h> #include <string> #include <iostream> #include <vector> #include <map> #include <set> #include <algorithm> using namespace std; #define let(i,a) __typeof(a)i=a #define each(i,a) (let(i,a.begin());i!=a.end();++i) #define foreach(i,a) for each(i,a) #define rep(i,n) for(int i=0;i<n;i++) #define all(a) a.begin(),a.end() #define pb push_back #define ins insert #define ers erase #define vec vector typedef double db; typedef long long ll; typedef unsigned int uint;