上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 38 下一页
摘要: 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) 编辑
摘要: Pasha and String CodeForces - 525B Pasha got a very beautiful string s for his birthday, the string consists of lowercase Latin letters. The letters i 阅读全文
posted @ 2019-03-31 21:51 yccdu 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Fixed Points CodeForces - 347B A permutation of length n is an integer sequence such that each integer from 0 to (n - 1) appears exactly once in it. F 阅读全文
posted @ 2019-03-31 21:01 yccdu 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Trace CodeForces - 157B One day, as Sherlock Holmes was tracking down one very important criminal, he found a wonderful painting on the wall. This wal 阅读全文
posted @ 2019-03-31 20:41 yccdu 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Table Decorations CodeForces - 478C 你有r个红的,g个绿的和b个蓝的气球。要为宴会布置一张桌子,你恰好需要三个气球。附在桌子上的三个气球不应该有相同的颜色。如果我们知道每种颜色的气球的数量,最多可以装饰多少张桌子? 您的任务是编写一个程序,对于给定的值r、g和b, 阅读全文
posted @ 2019-03-31 20:25 yccdu 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Mishka and trip CodeForces - 703B 小米什卡是一个伟大的旅行者,她访问了许多国家。在这次考虑去哪里旅行之后,她选择了XXX--这个美丽,但鲜为人知的北方国家。 以下是关于XXX的一些有趣事实: XXX由n个城市组成,其中k个(只是想象!)是省会城市。 这个国家的所有城 阅读全文
posted @ 2019-03-31 19:42 yccdu 阅读(156) 评论(0) 推荐(0) 编辑
摘要: New Year and Domino CodeForces - 611C 他们说:“每一年都像多米诺骨牌,一个接一个地倒下去”。但是,一年能够像多米诺骨牌那样放在网格中吗?我不这么认为。 Zydsg最近得到了一个有h行和w列的矩形网格。每个单元格是一个正方形,可以是空的(用'.'表示)或非空的(用 阅读全文
posted @ 2019-03-31 19:15 yccdu 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Vasya and Wrestling CodeForces - 493B Vasya has become interested in wrestling. In wrestling wrestlers use techniques for which they are awarded point 阅读全文
posted @ 2019-03-31 15:36 yccdu 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Painting Pebbles CodeForces - 509B There are n piles of pebbles on the table, the i-th pile contains ai pebbles. Your task is to paint each pebble usi 阅读全文
posted @ 2019-03-31 13:42 yccdu 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Fox And Two Dots CodeForces - 510B Fox Ciel 正在玩一个手机拼图游戏,被称之为 "Two Dots"。基础关卡是在一个大小为 n × m的棋盘上游戏,类似于这样: 每个单元格包含了一个具有某种颜色的点。我们将使用不同的大写拉丁字符,表示不同的颜色。 这个游戏 阅读全文
posted @ 2019-03-31 12:34 yccdu 阅读(303) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 38 下一页