HackerRankのがっぽコンについて+Bitcoinの使い道

はじめに この記事はCompetitive Programming (その2) Advent Calendar 2016 - Adventarの3日目の記事です。(遅れてしまいすみませんでした。) 皆様はHackerRankというコンテストサイトをご存知でしょうか。12/4現在、日本人登録者が490名で、他コンテスト…

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

この記事は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>…

AOJ 1334 Cubic Colonies

これはAOJ-ICPC Advent Calendar 2015の2日目の記事です。AOJ自体長らく触っていませんが、自分が解いたことのある問題の中で「AOJ (問題番号)」でぐぐっても解説記事が出てこない問題がないか探して、この問題について書くことにしました。 問題: Cubic Col…