一个for循环阶乘求和 摘要:解题思路:用a1表示阶乘的结果,再相加即可注意事项:a1和Sn的数据类型是long long int 参考代码:#include<bits/stdc++.h>using namespace std;i…… 题解列表 2023年12月06日 0 点赞 0 评论 268 浏览 评分:0.0
1953: 三位数分解 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,c,d; cin>>d; a=d/…… 题解列表 2023年12月05日 0 点赞 0 评论 387 浏览 评分:9.9
2763: 计算(a+b)/c的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月05日 0 点赞 0 评论 601 浏览 评分:9.9
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; …… 题解列表 2023年12月05日 0 点赞 0 评论 466 浏览 评分:6.0
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; …… 题解列表 2023年12月05日 0 点赞 0 评论 556 浏览 评分:9.9
1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; c…… 题解列表 2023年12月05日 0 点赞 0 评论 561 浏览 评分:9.9
题解 2907: 不与最大数相同的数字之和 摘要: #include using namespace std; int a[110]; int main() { int n,t=-1e9; …… 题解列表 2023年12月05日 0 点赞 0 评论 272 浏览 评分:2.0
不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[101];int main(){ int n,t=-1e9;//t ÓÃ…… 题解列表 2023年12月05日 0 点赞 0 评论 295 浏览 评分:0.0
编写题解 1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2023年12月05日 0 点赞 0 评论 241 浏览 评分:0.0
Yu:2816统计满足条件的4位数个数 摘要:#### 解题思路: 在会如何得到每一位数的情况下再思考此题。 如何得到每一位数的模板如下: ```c++ while(n){ // 当n变为0时循环结束 cout > …… 题解列表 2023年12月05日 0 点赞 0 评论 264 浏览 评分:0.0