2015-12-23から1日間の記事一覧

いろんな人のテンプレートを観察

この記事はCompetitive Programming Advent Calender(その2) 23日目の記事です。 はじめに 競技プログラミングでいろんな人のコードを読んでみると、前半部分には人によって色々なマクロや関数が定義されていたりいなかったりします。(参考: Quora) この部分…

テンプレート観察メモ(KUPC)

敬称略、KUPC2015の提出(CFで見た人除く)、まとめはこちら。 kawatea #include <cstdio> #include <cstdlib> #include <vector> using namespace std; なし yutaka1999 #include <cstdio> #include <cstdlib> #include <algorithm> #include <vector> #include <cstring> #include <queue> #include <functional> #include <map> #include <stack> #…</stack></map></functional></queue></cstring></vector></algorithm></cstdlib></cstdio></vector></cstdlib></cstdio>

テンプレート観察メモ(Codeforces)

Codeforces上位50名のテンプレート、C++のみ、敬称略、まとめはこちら。 tourist #include <bits/stdc++.h> using namespace std; テンプレートなし TooSimple #include <cstdio> #include <cstring> #include <cmath> #include <algorithm> #include <vector> #include <string> #include <map> #include <set> #include <cassert> using namespace</cassert></set></map></string></vector></algorithm></cmath></cstring></cstdio></bits/stdc++.h>…