平均值最大牛栏
题目描述有n个牛栏,从左到右连续一排,编号为1~n, 每个牛栏有一个高度ai。现在BSNY想从中找连续的一些牛栏,牛栏个数至少为L,他想知道,平均高度最大是多少。
Read more
Axell
Jan 07, 2019
C++
,
题解
求幂累加和
题目描述给定3个整数A,K,P,求 $ (A^1 + A^2 + … + A^K) mod P $ 的结果
Read more
Axell
Jan 06, 2019
C++
,
笔记