Rosetta Problems

最長のジグザグ

https://atcoder.jp/contests/past19-open/tasks/past19_l