111w11
111w11
全部文章
分类
归档
标签
去牛客网
登录
/
注册
111w11的博客
全部文章
(共6篇)
题解 | 小红的环形字符串
#include <iostream> using namespace std; int main() { string s; cin>>s; int n=s.length(); int max_len=1; int cur_len=1; int pre_...
2026-01-20
0
39
题解 | 小红的字符串
#include <iostream> using namespace std; int main() { int T; cin>>T; while(T--){ string s; cin>>s; for(int p=1;p<=s.le...
2026-01-20
0
16
题解 | chika和蜜柑
#include <iostream> #include<vector> #include<algorithm> using namespace std; int main() { int n,k; cin>>n>>k; vecto...
2026-01-20
0
13
题解 | 选药
#include<iostream> #include<vector> #include<algorithm> using namespace std; int main(){ int n; cin>>n; vector<pai...
2026-01-20
0
16
题解 | 牛牛的括号式
#include <iostream> #include<vector> using namespace std; const int MOD=10007; int main() { string s; cin>>s; vector<int>...
2026-01-19
0
13
题解 | 锁
#include <iostream> #include<vector> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int T; cin>>T...
2025-11-28
0
27