Rosetta Problems

The Smallest Window I

https://onlinejudge.u-aizu.ac.jp/problems/DSL_3_A