摘要:
题目大意:给定一个有 N 个正整数的序列,求出此序列满足和大于等于 S 的长度最短连续子序列。 cpp include include using namespace std; const int maxn=1e5+10; int n,s,a[maxn]; void read_and_parse() 阅读全文
posted @ 2018-11-01 23:51
shellpicker
阅读(100)
评论(0)
推荐(0)
摘要:
当遇到一道题数据爆long long时,先写出小范围数据的算法模板,之后再根据需要用高精度数据的地方进行修改,可以减少失误。 update at 2019.3.6 代码如下 阅读全文
posted @ 2018-11-01 16:43
shellpicker
阅读(140)
评论(0)
推荐(0)

浙公网安备 33010602011771号