跛足道人
跛足道人
全部文章
分类
题解(4)
归档
标签
去牛客网
登录
/
注册
跛足道人的博客
全部文章
(共2篇)
题解 | #小红的子数组排列#
根据这个佬的思路改编出来的代码@lnu20231491207 #include<bits/stdc++.h> using namespace std; int a[100010]; int c[100010]; int main() ...
C++
双指针
2024-05-20
4
301
题解 | #小红的子数组判断排列#
#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
320