2850: 输出亲朋字符串 摘要:``` #include using namespace std; const int N=100010; int main(){ string a,b; getline(cin,a)…… 题解列表 2023年12月19日 0 点赞 0 评论 145 浏览 评分:9.9
题解 2850: 输出亲朋字符串 摘要: #include using namespace std; const int N=100000; int main() { string…… 题解列表 2023年12月19日 0 点赞 0 评论 130 浏览 评分:0.0
903: 不高兴的津津 摘要:``` #include using namespace std; const int N=110; int a[N] ,b[N]; int main() { int t = 0; …… 题解列表 2023年12月19日 0 点赞 0 评论 137 浏览 评分:0.0
2847: 找第一个只出现一次的字符 摘要:``` #include using namespace std; const int N=10010; char s[N]; int cnt[26]; int main(){ cin…… 题解列表 2023年12月19日 0 点赞 0 评论 179 浏览 评分:0.0
题解 2847: 找第一个只出现一次的字符 摘要: #include using namespace std; const int N=100000; char a[N]; int cnt[26]; …… 题解列表 2023年12月19日 0 点赞 0 评论 227 浏览 评分:9.9
2846: 统计数字字符个数 摘要:``` #include using namespace std; int main(){ int cnt=0; string s; getline(cin,s); for(in…… 题解列表 2023年12月19日 0 点赞 0 评论 170 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=300;int main(){ int sum=0; str…… 题解列表 2023年12月19日 0 点赞 0 评论 146 浏览 评分:0.0
题解 2846: 统计数字字符个数 摘要: #include using namespace std; const int N=300; int cnt; string a; int m…… 题解列表 2023年12月19日 0 点赞 0 评论 236 浏览 评分:9.9
C++宏三角形面积 简单易懂 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>#include <iomanip>#define area sqrt(s*(s-a)*(s-b)*…… 题解列表 2023年12月18日 0 点赞 0 评论 821 浏览 评分:0.0
C++宏练习 简洁易懂 摘要:解题思路:注意事项:参考代码:#include <iostream>#define yu(a,b) (a%b) using namespace std;int main(){ int a,b,c; c…… 题解列表 2023年12月18日 0 点赞 0 评论 230 浏览 评分:0.0