C++输出所有水仙花数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int i,j; int a,b,c; for(i…… 题解列表 2024年01月19日 0 点赞 0 评论 192 浏览 评分:0.0
1234: 检查一个数是否为质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; …… 题解列表 2024年01月19日 0 点赞 0 评论 191 浏览 评分:6.0
2830: 数字统计 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long m,a,x=0; cin>…… 题解列表 2024年01月19日 0 点赞 0 评论 331 浏览 评分:9.9
题解 2829: 数1的个数 摘要:解题思路:分离数位注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; …… 题解列表 2024年01月19日 0 点赞 0 评论 141 浏览 评分:0.0
2829: 数1的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,x=0;//要付初值 …… 题解列表 2024年01月19日 0 点赞 0 评论 246 浏览 评分:9.9
题解 2829: 数1的个数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ long long n,sum=0; cin>>n; …… 题解列表 2024年01月19日 0 点赞 0 评论 173 浏览 评分:9.9
题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ long long n,s=0; cin>>n; …… 题解列表 2024年01月19日 0 点赞 0 评论 153 浏览 评分:0.0
1267:A+B Problem 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a; cout<<a+b…… 题解列表 2024年01月19日 0 点赞 0 评论 581 浏览 评分:6.0
C++超简单思路 摘要:解题思路:将数字问题转换成字符串问题注意事项:注意看题目要求参考代码:#include<iostream>#include<string>#include<algorithm>#include<std…… 题解列表 2024年01月19日 0 点赞 0 评论 279 浏览 评分:9.9
1267: A+B Problem 摘要:解题思路:wu注意事项:wu参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)…… 题解列表 2024年01月19日 0 点赞 0 评论 450 浏览 评分:9.9