Note: 'amida' means 'amidakuji'.
The idea of this challenge is taken from "Amidakuji" in SECCON 2014 Online Qualification Round (Japanese).
Requirements / Libraries
This program depends on:
Compiling with GCC (
g++) may be failed. It is known problem and I won't fix it. Therefore, I recommend to use clang (
- Mac OS X 10.10 (Yosemite) / clang++
- Ubuntu 14.04 LTS / clang++
- Mei Akizuru (@maytheplic)