559 (Div. 2)
。
AVICIIl
这个作者很懒,什么都没留下…
展开
-
C. The Party and Sweets
n boys and m girls came to the party. Each boy presented each girl some integer number of sweets (possibly zero). All boys are numbered with integers from 1 to n and all girls are numbered with integers from 1 to m. For all 1≤i≤n the minimal number of swe原创 2020-04-08 16:21:09 · 227 阅读 · 0 评论 -
B. Expansion coefficient of the array
Let's call an array of non-negative integers a1,a2,…,an a k-extension for some non-negative integer k if for all possible pairs of indices 1≤i,j≤n the inequality k⋅|i−j|≤min(ai,aj) is satisfied. The expansion coefficient of the array a is the maximal integ原创 2020-04-08 16:10:14 · 149 阅读 · 0 评论