摘要:
// 前缀和dp优化1#include<bits/stdc++.h> using namespace std; int main() { for(int u=1,i=1;i<=n;i++) { while(s[i]-s[u]>le) u++; p[i]=u; } for(int i=1;i<=n&& 阅读全文
posted @ 2019-06-18 23:24
ALEZ
阅读(577)
评论(0)
推荐(0)
摘要:
顺 阶乘乘上当前没用过的
逆 除以+1 为当前的数 +%
可约等于哈希 记录状态 阅读全文
posted @ 2019-06-18 19:01
ALEZ
阅读(91)
评论(0)
推荐(0)

浙公网安备 33010602011771号