摘要:
【传送门】http://codeforces.com/problemset/problem/813/C 【题意】给定整数a,b,c,s,求使得 xa yb zc值最大的实数 x,y,z , 其中x + y + z <= s. (1 ≤ S ≤ 103 , 0 ≤ a, b, c ≤ 103) 【题解 阅读全文
摘要:
【传送门】:https://nanti.jisuanke.com/t/31460 【题意】给定一个数组a[N],有两种操作, 操作1,给定 l , r, 查询a[l]×L+a[l+1]×(L−1)+⋯+a[r−1]×2+a[r]的值 (L is the length of [ ll, rr ] th 阅读全文