2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch…… 题解列表 2024年07月18日 0 点赞 0 评论 501 浏览 评分:0.0
2236: 蓝桥杯算法训练-大小写转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch…… 题解列表 2024年07月18日 0 点赞 0 评论 186 浏览 评分:0.0
C语言判断完数(简单易懂版) 摘要:# C语言简单易懂判断完数 ## 解题思路 **由完数的概念可知,完数是它的因子之和等于它本身,所以在求解的时候需要首先考虑因子,然后对因子求和,再来判断求解出来的因子之和是否等于这个数它…… 题解列表 2024年07月18日 0 点赞 0 评论 305 浏览 评分:0.0
2950: 素数回文数的个数 摘要:解题思路:函数定义fuk you注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fuk(ll…… 题解列表 2024年07月18日 0 点赞 0 评论 386 浏览 评分:9.9
题解 1512: 蓝桥杯算法提高VIP-多项式输出 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int n,a[250];int main(){ cin>>n; fo…… 题解列表 2024年07月18日 0 点赞 0 评论 217 浏览 评分:0.0
还有比这还简单的吗??? 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; cin>>n; …… 题解列表 2024年07月17日 0 点赞 0 评论 205 浏览 评分:0.0
1002: [编程入门]三个数最大值 C++题解 摘要:解题思路:这是一题水题,有手就行。。。用数组和排序闭着眼睛都能过(虽然有点小题大做。。。)注意事项:一定要用万能头文件,不然其他头文件遇到sort()会报错。参考代码:#include<bits/st…… 题解列表 2024年07月17日 1 点赞 0 评论 515 浏览 评分:9.9
1120: C语言训练-"水仙花数"问题2 摘要:解题思路:1. 定义一个函数lifang(int n),用于计算一个整数n的各个位数的立方和。2. 在main函数中,使用for循环遍历100到999之间的所有整数。3. 对于每个整数n,调用lifa…… 题解列表 2024年07月17日 0 点赞 0 评论 155 浏览 评分:0.0
编写题解 3011: 余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2024年07月17日 0 点赞 0 评论 174 浏览 评分:9.9
题目 3011: 余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll a,b,…… 题解列表 2024年07月17日 0 点赞 0 评论 200 浏览 评分:0.0