摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
New Year and Domino CodeForces - 611C 他们说:“每一年都像多米诺骨牌,一个接一个地倒下去”。但是,一年能够像多米诺骨牌那样放在网格中吗?我不这么认为。 Zydsg最近得到了一个有h行和w列的矩形网格。每个单元格是一个正方形,可以是空的(用'.'表示)或非空的(用 阅读全文
摘要:
Vasya and Wrestling CodeForces - 493B Vasya has become interested in wrestling. In wrestling wrestlers use techniques for which they are awarded point 阅读全文
摘要:
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 阅读全文
摘要:
Fox And Two Dots CodeForces - 510B Fox Ciel 正在玩一个手机拼图游戏,被称之为 "Two Dots"。基础关卡是在一个大小为 n × m的棋盘上游戏,类似于这样: 每个单元格包含了一个具有某种颜色的点。我们将使用不同的大写拉丁字符,表示不同的颜色。 这个游戏 阅读全文