摘要: 征途 HYSBZ - 4518 Pine开始了从S地到T地的征途。 从S地到T地的路可以划分成n段,相邻两段路的分界点设有休息站。 Pine计划用m天到达T地。除第m天外,每一天晚上Pine都必须在休息站过夜。所以,一段路必须在同一天中走完。 Pine希望每一天走的路长度尽可能相近,所以他希望每一天 阅读全文
posted @ 2019-04-01 22:29 yccdu 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Alyona and flowers CodeForces - 740B Little Alyona is celebrating Happy Birthday! Her mother has an array of n flowers. Each flower has some mood, the 阅读全文
posted @ 2019-04-01 20:32 yccdu 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Squares CodeForces - 263B Vasya has found a piece of paper with a coordinate system written on it. There are ndistinct squares drawn in this coordinat 阅读全文
posted @ 2019-04-01 20:29 yccdu 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Find Marble CodeForces - 285B Petya and Vasya are playing a game. Petya's got n non-transparent glasses, standing in a row. The glasses' positions are 阅读全文
posted @ 2019-04-01 20:25 yccdu 阅读(146) 评论(0) 推荐(0) 编辑