Codeforces 1263 F Economic Difficulties —— dp

NoSuchKey