submit F.cpp to 'F - Coins on the tree' (code-thanks-festival-2018) [C++14 (GCC 5.4.1)]
submit F.cpp to 'F - Coins on the tree' (code-thanks-festival-2018) [C++14 (GCC 5.4.1)]

kazunetakahashi/atcoder,kazunetakahashi/atcoder