题解 1764: 循环入门练习1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,sum=0; for(a=1;a<…… 题解列表 2024年01月08日 0 点赞 0 评论 182 浏览 评分:9.9
题解 2544: N以内累加求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum,i,n; sum=0; …… 题解列表 2024年01月08日 0 点赞 0 评论 228 浏览 评分:9.9
题解 1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1; …… 题解列表 2024年01月08日 0 点赞 0 评论 373 浏览 评分:9.9
题解 3010: 奇偶数之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,s1,s2; s1=0; …… 题解列表 2024年01月08日 0 点赞 0 评论 129 浏览 评分:9.9
1764: 循环入门练习1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum=0; //累加器 for(i…… 题解列表 2024年01月08日 0 点赞 0 评论 203 浏览 评分:9.9
2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<…… 题解列表 2024年01月08日 0 点赞 0 评论 219 浏览 评分:9.9
2000: 偶数列举 摘要:解题思路:注意事项:循环变量是n参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; …… 题解列表 2024年01月08日 0 点赞 0 评论 206 浏览 评分:9.9
题解 1764循环入门练习1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum = 0; for(int i=…… 题解列表 2024年01月08日 0 点赞 0 评论 157 浏览 评分:9.9
2544: N以内累加求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月08日 0 点赞 0 评论 191 浏览 评分:9.9
1151: C语言训练-计算一个整数N的阶乘1151: C语言训练-计算一个整数N的阶乘1151: C语言训练-计算一个整数N的阶乘1151: C语言训练-计算一个整数N的阶乘1151: C语言训练- 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int i,N,s=1; cin>>N; for(…… 题解列表 2024年01月08日 0 点赞 0 评论 233 浏览 评分:9.9