codeforces1036
i-Curve
优雅的运用技术
展开
-
A. Function Height
You are given a set of 2n+1 integer points on a Cartesian plane. Points are numbered from 0 to 2n inclusive. Let Pi be the i-th point. The x-coordinate of the point Pi equals i. The y-coordinate of th...原创 2018-09-09 17:18:32 · 256 阅读 · 0 评论 -
B. Diagonal Walking v.2
Mikhail walks on a Cartesian plane. He starts at the point (0,0), and in one move he can go to any of eight adjacent points. For example, if Mikhail is currently at the point (0,0), he can go to any o...原创 2018-09-09 17:13:04 · 250 阅读 · 0 评论 -
D. Vasya and Arrays
Vasya has two arrays A and B of lengths n and m, respectively. He can perform the following operation arbitrary number of times (possibly zero): he takes some consecutive subsegment of the array and ...原创 2018-09-09 17:08:35 · 440 阅读 · 0 评论 -
C. Classy Numbers -cocdeforces1036c -csdn博客
Let’s call some positive integer classy if its decimal representation contains no more than 3 non-zero digits. For example, numbers 4, 200000, 10203 are classy and numbers 4231, 102306, 7277420000 are...原创 2018-09-10 20:37:27 · 509 阅读 · 0 评论