_MZT_
_MZT_
全部文章
题解
归档
标签
去牛客网
登录
/
注册
_MZT_的博客
全部文章
/ 题解
(共2篇)
题解 | #小红的子数组判断排列#
#include<bits/stdc++.h> using namespace std; const int N=1e5+10; int cnt[N],a[N]; bool once(int num[],int k) { for(int p=1;p<=k;p+...
双指针
数组
2024-05-20
3
318
题解 | #小红的子数组排列判断#
#include<bits/stdc++.h> using namespace std; const int N=1e5+10; int cnt[N],a[N]; int main() { int n,k; cin>>n>>k; for(int i=0;i<...
双指针
数组
2024-05-19
4
596