Codeforces Round #560 (Div. 3)
zstu_CAD
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #560 (Div. 3) ->C. Good String
C. Good StringLet’s call (yet again) a string good if its length is even, and every character in odd position of this string is different from the next character (the first character is different fro...原创 2019-05-18 12:20:44 · 637 阅读 · 0 评论 -
Codeforces Round #560 (Div. 3) -> D. Almost All Divisors
D. Almost All DivisorsWe guessed some integer number x. You are given a list of almost all its divisors. Almost all means that there are all divisors except 1 and x in the list.Your task is to find ...原创 2019-05-18 12:36:32 · 291 阅读 · 0 评论 -
Codeforces Round #560 (Div. 3) -> E. Two Arrays and Sum of Functions
E. Two Arrays and Sum of FunctionsYou are given two arrays a and b, both of length n.Let’s define a function f(x,y)=∑l≤i≤raibif(x,y)=\displaystyle\sum_{l≤i≤r}a_i b_if(x,y)=l≤i≤r∑aibiYour task is...原创 2019-05-23 18:13:19 · 180 阅读 · 0 评论