2020年1月18日

C. Nice Garland

摘要: C. Nice Garland You have a garland consisting of nn lamps. Each lamp is colored red, green or blue. The color of the ii-th lamp is si ('R', 'G' and 'B 阅读全文

posted @ 2020-01-18 14:32 Aminers 阅读(144) 评论(0) 推荐(0) 编辑

D. Diverse Garland

摘要: D. Diverse Garland You have a garland consisting of n lamps. Each lamp is colored red, green or blue. The color of the ii-th lamp is si('R', 'G' and ' 阅读全文

posted @ 2020-01-18 14:02 Aminers 阅读(128) 评论(0) 推荐(0) 编辑

G. Array Stabilization

摘要: G. Array Stabilization You are given an array aa consisting of nn integer numbers. Let instability of the array be the following value: maxi=1nai−mini 阅读全文

posted @ 2020-01-18 12:34 Aminers 阅读(186) 评论(0) 推荐(0) 编辑

E. Repeating Cipher

摘要: E. Repeating Cipher Polycarp loves ciphers. He has invented his own cipher called repeating. Repeating cipher is used for strings. To encrypt the stri 阅读全文

posted @ 2020-01-18 12:29 Aminers 阅读(188) 评论(0) 推荐(0) 编辑

B. Divisors of Two Integers

摘要: B. Divisors of Two Integers Recently you have received two positive integer numbers xx and y. You forgot them, but you remembered a shuffled list cont 阅读全文

posted @ 2020-01-18 12:23 Aminers 阅读(221) 评论(0) 推荐(0) 编辑

A. Two distinct points

摘要: A. Two distinct points You are given two segments l1;r1 and l2;r2 on the xx-axis. It is guaranteed that l1<r1l1<r1 and l2<r2l2<r2. Segments may inters 阅读全文

posted @ 2020-01-18 12:15 Aminers 阅读(163) 评论(0) 推荐(0) 编辑

I. Powers Of Two

摘要: I. Powers Of Two A positive integer xx is called a power of two if it can be represented as x=2yx=2y, where y is a non-negative integer. So, the power 阅读全文

posted @ 2020-01-18 11:58 Aminers 阅读(173) 评论(0) 推荐(0) 编辑

导航