Codeforces-Problemset
老周聊架构
微信公众号:老周聊架构
展开
-
3A. Shortest path of the king
一、ProblemThe 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 ...原创 2019-12-24 00:47:35 · 265 阅读 · 0 评论 -
2C. Commentator problem
一、ProblemThe 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 gi...原创 2019-12-11 21:38:10 · 264 阅读 · 0 评论 -
2B. The least round way
一、ProblemThere is a square matrix n × 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 ...原创 2019-12-11 00:01:59 · 242 阅读 · 0 评论 -
2A. Winner
一、ProblemThe 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 poin...原创 2019-12-04 22:25:54 · 273 阅读 · 0 评论 -
1C. Ancient Berland Circus
一、ProblemNowadays 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 (equiangula...原创 2019-12-04 22:23:19 · 224 阅读 · 0 评论 -
1B. Spreadsheets
一、题目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 b...原创 2019-11-30 15:15:59 · 234 阅读 · 0 评论 -
1A. Theatre Square
一、题目Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city’s anniversary, a decision was taken to pave the Square with square gr...原创 2019-11-30 13:32:11 · 197 阅读 · 0 评论