摘要: Who Gets the Most Candies?Time Limit:5000MSMemory Limit:131072KTotal Submissions:8055Accepted:2406Case Time Limit:2000MSDescriptionNchildren are sitting in a circle to play a game.The children are numbered from 1 toNin clockwise order. Each of them has a card with ... 阅读全文
posted @ 2013-08-12 17:07 哥的笑百度不到 阅读(347) 评论(0) 推荐(0)
摘要: MatrixTime Limit:3000MSMemory Limit:65536KTotal Submissions:15090Accepted:5662DescriptionGiven an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row and j-th column. Initially we have A[i, j] = 0 (1 b。 a... 阅读全文
posted @ 2013-08-12 15:15 哥的笑百度不到 阅读(198) 评论(0) 推荐(0)
摘要: CowsTime Limit:3000MSMemory Limit:65536KTotal Submissions:10236Accepted:3351DescriptionFarmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is partic... 阅读全文
posted @ 2013-08-12 09:45 哥的笑百度不到 阅读(153) 评论(0) 推荐(0)