Rosetta Problems
← atcoder に戻る
Three Traffic Lights
https://atcoder.jp/contests/agc050/tasks/agc050_e