- 博客(13)
- 收藏
- 关注
翻译 Registration System
描述:A new e-mail service "Berlandesk" is going to be opened in Berland in the near future. The site administration wants to launch their project as soon as possible, that's why they ask you to help. You're suggested to implement the prototype of site regi
2022-01-29 15:30:15 114
翻译 Before an Exam
描述:Tomorrow Peter has a Biology exam. He does not like this subject much, butddays ago he learnt that he would have to take this exam. Peter's strict parents made him prepare for the exam immediately, for this purpose he has to study not less thanminT...
2022-01-28 17:20:15 139
翻译 Watermelon
描述:One hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the watermelon was weighed, and the scales showedwkilos. They rushed home, dying of thirst, and decided..
2022-01-27 15:42:18 165
翻译 Least Cost Bracket Sequence
描述:This is yet another problem on regular bracket sequences.A bracket sequence is called regular, if by inserting "+" and "1" into it we get a correct mathematical expression. For example, sequences "(())()", "()" and "(()(()))" are regular, while ")("
2022-01-26 16:16:18 92
翻译 Tic-tac-toe
描述:Certainly, everyone is familiar with tic-tac-toe game. The rules are very simple indeed. Two players take turns marking the cells in a3 × 3grid (one player always draws crosses, the other — noughts). The player who succeeds first in placing three of..
2022-01-25 23:15:07 99
翻译 Lorry
描述:A group of tourists is going to kayak and catamaran tour. A rented lorry has arrived to the boat depot to take kayaks and catamarans to the point of departure. It's known that all kayaks are of the same size (and each of them occupies the space of 1 c
2022-01-24 21:36:10 105
翻译 Shortest path of the king
描述:The king is left alone on the chessboard. In spite of this loneliness, he doesn’t lose heart, because he has business of national importance. For example, he has to pay an official visit to square t. As the king is not in habit of wasting his time, he
2022-01-23 21:25:24 102
翻译 Commentator problem
描述:The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take pla
2022-01-22 18:45:34 83
翻译 The least round way
描述:There is a square matrixn × n, consisting of non-negative integer numbers. You should find such a way on it thatstarts in the upper left cell of the matrix; each following cell is to the right or down from the current cell; the way ends in the bo.
2022-01-21 22:01:16 112
翻译 Winner
描述:The winner of the card game popular in Berland "Berlogging" is determined according to the following rules. If at the end of the game there is only one player with the maximum number of points, he is the winner. The situation becomes more difficult if
2022-01-20 21:15:18 114
翻译 Ancient Berland Circus
描述:Nowadays all circuses in Berland have a round arena with diameter 13 meters, but in the past things were different.In Ancient Berland arenas in circuses were shaped as a regular (equiangular) polygon, the size and the number of angles could vary fro
2022-01-19 20:30:02 76
翻译 Spreadsheet
描述:In the popular spreadsheets systems (for example, in Excel) the following numeration of columns is used. The first column has number A, the second — number B, etc. till column 26 that is marked by Z. Then there are two-letter numbers: column 27 has nu
2022-01-18 18:36:22 139
翻译 Theatre Square
描述:Theatre Square in the capital city of Berland has a rectangular shape with the sizen × mmeters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square granite flagstones. Each flagstone is of the sizea × a....
2022-01-17 17:20:12 249
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人