Rosetta Problems

LIS with Stack

https://atcoder.jp/contests/abc262/tasks/abc262_g