首页
DreamJudge
院校信息
考研初试
机试真题
兑换中心
登录
注册
上岸
以下题解仅供学习参考使用。
抄袭、复制题解,以达到刷AC率/AC数量或其他目的的行为,在N诺是严格禁止的。
N诺非常重视学术诚信。此类行为将会导致您成为作弊者。具体细则请查看N诺社区规则。
zcq107
2025年2月11日 17:35
逛画展 题解:
P1591
回复 0
|
赞 0
|
浏览 348
滑动窗口 #include <bits/stdc++.h> using namespace std; const int N = 1e6+10; int x[N]; int main(){ int n,m; while(cin>>n>>m){ for(int i = 1;i <= n;i ++) cin>>x[i]; map<int,int> mp; int l = 1,r = 1,minlen = n...
题目
逛画展
题解数量
1
发布题解
在线答疑
热门题解
1
逛画展 题解: