G - 古代の機械 (Ancient Machine) Editorial /

Time Limit: 2 sec / Memory Limit: 256 MB

問題

配布ファイルは こちら

C++ を使用する場合,ancient_machine.h を include し,すべての関数を 1 つのファイル内で実装してください.AtCoder の仕様上グローバル変数の共有が可能ですが,自粛してください.

このジャッジは C++ 以外に対応していません.

Statement

Distributed files are here.

Your program has to include ancient_machine.h and be implemented all functions in one file.

You can submit only C++ source code.


Source Name

JOI 2020/2021 春合宿 Day3 問題1