题面: D. Lemonade Line Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   It's a hot summer day out on the farm, and Farmer John is serving lemonade to his N cows! All N cows (conveniently numbered…
题面: E. Family Tree Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   Farmer John owns a family-run farm that has been passed down over several generations, with a herd of cows whose familial root…
题面: C. Team Tic Tac Toe Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   Farmer John owns 26 cows, which by happenstance all have names starting with different letters of the alphabet, so Farmer…
题面: 传送门 A. Out of Sorts Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   Keeping an eye on long term career possibilities beyond the farm, Bessie the cow has started learning algorithms from var…
题面: Problem F. Teleportation Input file: standard input Output file: standard output Time limit: 15 second Memory limit: 1024 megabytes   One of the farming chores Farmer John dislikes the most is hauling around lots of cow manure. In order to streamli…
题面: H. Mixing Milk Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   Farming is competitive business – particularly milk production. Farmer John figures that if he doesn't innovate in his milk pro…
题面: A. The Bucket List Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   Farmer John is considering a change in how he allocates buckets for milking his cows. He thinks this will ultimately allow…
题面: G. Back and Forth Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   Farmer John has two milking barns, each of which has a large milk tank as well as a storage closet containing 10 buckets of…
题面: G. Snow Boots Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   It's winter on the farm, and that means snow! There are N tiles on the path from the farmhouse to the barn, conveniently number…
题面: C. Rest Stops Input file: standard input Output file: standard output Time limit: 1 second Memory limit: 256 megabytes   Farmer John and his personal trainer Bessie are hiking up Mount Vancowver. For their purposes (and yours), the mountain can be…