Codeforces Round #328 (Div. 2)_B. The Monster and the Squirrel
B. The Monster and the Squirreltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAri the monster always wakes up very e