首页
比赛
tracker
题库
课程
竞赛讨论区
登录
/
注册
去牛客
首页
>
字符串展开
15条解析
开通博客写题解
Ldh1315109
发表于 2025-11-07 17:31:47
def solve(testcase): a, b, c = MI() s = I() n = len(s) res = [] for i, ch in enumerate(s): if ch != '-': re
展开全文
周康禧
发表于 2025-12-12 15:44:31
#include <bits/stdc++.h> using namespace std; using ll = long long int; using ld = long double; using PII=pair<ll,ll>; using PIII=pair<
展开全文
自由的风0450
发表于 2025-11-22 13:58:21
#include <iostream> #include<string> #include<algorithm> #include<cctype> using namespace std; int main() { int p1, p2, p
展开全文
游云吞鲸
发表于 2026-01-18 10:38:35
#include <bits/stdc++.h> using namespace std; void tian(int ,int ,int ,char ,char ); bool expand(char ,char ); int main() { int p1,p2,p3;
展开全文
MaoPaoMiao
发表于 2026-01-14 19:53:36
#include <bits/stdc++.h> using namespace std; int main() { int p1, p2, p3; cin >> p1 >> p2 >> p3; string s; ci
展开全文
丘馗
发表于 2026-01-08 11:09:43
#include <iostream> #include <string> #include <algorithm> using namespace std; string operator*(const string &s,int n) { s
展开全文
昀启融
发表于 2026-02-02 12:29:27
#include <iostream> using namespace std; int main() { int a, b,c,d; cin>>a>>b>>c; string s; char ch; cin
展开全文
BLUE_RAY
发表于 2026-02-01 11:52:23
#include<bits/stdc++.h> using namespace std; int p1, p2, p3; string str; int judge(int i) { if(str[i] >= 'a' && str[i] <= 'z')
展开全文
nous1
发表于 2026-02-07 11:19:00
#include <algorithm> #include <cctype> #include <iostream> #include <string> using namespace std; bool isnum(char c){ retu
展开全文
星夜c
发表于 2025-12-14 23:40:56
#include <iostream> #include <string> #include <algorithm> // 用于reverse反转序列 #include <cctype> // 用于islower/isdigit/toupper
展开全文
查看本题
查看本题讨论
相关比赛
20960-2021秋季算法入门班第一章习题:模拟、枚举、贪心
进入比赛
127358-模拟枚举和贪心
进入比赛
等你来战
查看全部
牛客小白月赛129
报名截止时间:2026-02-27 21:00
牛客周赛 Round 133
报名截止时间:2026-03-01 21:00
【小羊肖恩】小羊杯 Round 3
报名截止时间:2026-03-15 18:00
扫描二维码,关注牛客
意见反馈
下载牛客APP,随时随地刷题