层次递进,绝对好懂,不懂你抽我 摘要:解题思路:先拿2,3举例,2*2*2=8=3+5 3*3*3=27=7+9+11观察第一个数和最后一个数,范围在什么区间呢?13*13*13=2197=157+1…… 题解列表 2025年07月26日 1 点赞 0 评论 70 浏览 评分:10.0
输入输出->[竞赛入门]简单的a+b题解 摘要:审题没审清楚,差点翻车。#### 思路其实这道题本质上是挺简单的,但是题目要求是需要一直输入$$a$$和$$b$$,所以!我们需要用$$while$$循环输入$$a$$和$$b$$,然后再输出…… 题解列表 2025年07月25日 1 点赞 0 评论 171 浏览 评分:2.0
你就说过没过吧 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<&quo…… 题解列表 2025年07月25日 1 点赞 1 评论 69 浏览 评分:10.0
Lucky Word - 模拟 摘要:解题思路:模拟注意事项:参考代码:#include<iostream>#include<cstring>usingnamespacestd;…… 题解列表 2025年07月25日 0 点赞 0 评论 34 浏览 评分:0.0
求小数的某一位 分数a/b化为小数后,小数点后第n位的数字是多少? 摘要:解题思路:由于double是浮点型,如果强制转化成int会造成精度缺失,这可能是大部分人会错一个答案的原因。在这里采用的方法是类似于手算小学除法题。比如1➗3。我们都知道,1比3小,所以要对1进位取1…… 题解列表 2025年07月24日 1 点赞 0 评论 105 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d…… 题解列表 2025年07月24日 0 点赞 1 评论 71 浏览 评分:0.0
1032:[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:要写括号参考代码:#include<bits/stdc++.h>using namespace std;int q(string a,string b){ …… 题解列表 2025年07月24日 1 点赞 1 评论 75 浏览 评分:10.0
2936:简单算数表达式求值;;;;;;题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int s(int a,char c,int b){&nbs…… 题解列表 2025年07月24日 1 点赞 0 评论 46 浏览 评分:10.0
2816:统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[110],s=0; cin>…… 题解列表 2025年07月24日 0 点赞 0 评论 40 浏览 评分:0.0
3020 :正确题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m=0;&…… 题解列表 2025年07月23日 1 点赞 1 评论 80 浏览 评分:10.0