摘要: Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ 阅读全文
posted @ 2017-07-26 17:29 爱国呐 阅读(331) 评论(0) 推荐(0)
摘要: Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one- 阅读全文
posted @ 2017-07-26 16:59 爱国呐 阅读(230) 评论(0) 推荐(0)
摘要: Description There are N beads which of the same shape and size, but with different weights. N is an odd number and the beads are labeled as 1, 2, ..., 阅读全文
posted @ 2017-07-26 16:49 爱国呐 阅读(255) 评论(0) 推荐(0)
摘要: Description N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows code better than o 阅读全文
posted @ 2017-07-26 16:40 爱国呐 阅读(355) 评论(0) 推荐(0)