利用string容器轻松拿捏 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>#include<algorithm> using namespace std;//因为字母A到Z是1…… 题解列表 2024年02月05日 0 点赞 0 评论 356 浏览 评分:9.9
C++ 编写题解 1098: 陶陶摘苹果 摘要:解题思路: 注意事项: 参考代码: #include<iostream>using namespace std;int main(){ int a[11],high,count=0; for (int…… 题解列表 2024年02月05日 1 点赞 0 评论 539 浏览 评分:10.0
1306: 老管家的忠诚2 题解 摘要: # 题目大意 给你一个序列 $$a$$,再给你一个操作类型,当操作类型为1时,让你修改 $$a_x$$ 为 $$y$$, 当操作类型为2时,询问区间 $$l,r$$ 的最小值。 # 思路 区间…… 题解列表 2024年02月05日 0 点赞 0 评论 413 浏览 评分:9.9
[编程入门]密码破译 摘要:#include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(false) int main() …… 题解列表 2024年02月05日 1 点赞 0 评论 823 浏览 评分:9.9
编写题解 2792: 三角形判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >>a>>b>>c; …… 题解列表 2024年02月05日 0 点赞 0 评论 367 浏览 评分:0.0
编写题解 2790: 分段函数 摘要:解题思路:注意事项:参考代码#include <iostream>using namespace std;int main(){ float x,y; cin>>x; if(x>=0…… 题解列表 2024年02月05日 0 点赞 0 评论 338 浏览 评分:0.0
模拟计算器 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b; char c; cin>>a>>…… 题解列表 2024年02月05日 0 点赞 0 评论 413 浏览 评分:0.0
大整数乘法C++ 摘要://大整数乘法#include <bits/stdc++.h>using namespace std;int na[2005], nb[2005], nc[4010];string mul(strin…… 题解列表 2024年02月04日 0 点赞 0 评论 428 浏览 评分:0.0
[编程入门]三个数最大值 摘要:#include<bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(false) int main() …… 题解列表 2024年02月04日 0 点赞 0 评论 409 浏览 评分:9.9
用do,while,不循环每个数字 摘要:解题思路:已知42为最小符合的数,42*1,42*2,42*3同样符合。因此不用1-1000每个数都循环,就可得到符合条件的数注意事项:主要方法是计算符合条件的数,不是遍历循环参考代码:#includ…… 题解列表 2024年02月04日 0 点赞 0 评论 304 浏览 评分:0.0