アットウィキロゴ
Imoのアルゴリズムライブラリ
掲示板 掲示板 ページ検索 ページ検索 メニュー メニュー
  • atwiki
  • Imoのアルゴリズムライブラリ

Imoのアルゴリズムライブラリ

最終更新:

imolib

- view
メンバー限定 登録/ログイン

Imoのアルゴリズムライブラリ

ICPC用アルゴリズムライブラリになる予定です。
まだ内容はほとんどないです。

追加する予定の内容

typhoon
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;
最近更新されたスレッド
ウィキ募集バナー