自学编程-codeforces复习(自用)
今天有没有学习
本博客拟用作codeforces复习使用,非科班,自娱自乐。
展开
-
1167B. Lost Numbers
1167B. Lost Numbers This is an interactive problem. Remember to flush your output while communicating with the testing program. You may use fflush(stdout) in C++, system.out.flush() in Java, stdout.flush() in Python or flush(output) in Pascal to flush the原创 2020-09-21 22:00:35 · 184 阅读 · 0 评论 -
2B. The least round way
B. The least round way There is a square matrix n × n, consisting of non-negative integer numbers. You should find such a way on it that starts in the upper left cell of the matrix; each following cell is to the right or down from the current cell; the way原创 2020-09-21 19:05:10 · 125 阅读 · 0 评论 -
2A. Winner
A. 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 difficu原创 2020-09-21 18:39:43 · 166 阅读 · 0 评论 -
1B. Spreadsheets
B. 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 by Z. Then there are two-letter numbers: colum原创 2020-09-21 18:11:11 · 160 阅读 · 0 评论 -
1A. Theatre Square
** 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 granite flagstones. Each flagstone is原创 2020-09-21 17:07:03 · 167 阅读 · 0 评论