2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<…… 题解列表 2024年01月08日 0 点赞 0 评论 359 浏览 评分:9.9
2000: 偶数列举 摘要:解题思路:注意事项:循环变量是n参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; …… 题解列表 2024年01月08日 0 点赞 0 评论 347 浏览 评分:9.9
题解 1764循环入门练习1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum = 0; for(int i=…… 题解列表 2024年01月08日 0 点赞 0 评论 372 浏览 评分:9.9
2544: N以内累加求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月08日 1 点赞 0 评论 350 浏览 评分:10.0
N以内累加求和 2544 摘要:解题思路:#include<bits/stdc++.h>using namespace std;int n;int main(){cin>>n;int s=(1+n)*n/2;cout<<s;}注意事…… 题解列表 2024年01月08日 0 点赞 0 评论 370 浏览 评分:0.0
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 评论 411 浏览 评分:9.9
1151:C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int s…… 题解列表 2024年01月08日 0 点赞 0 评论 334 浏览 评分: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 评论 368 浏览 评分:9.9
2777: 计算2的幂 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,sum; sum=1; …… 题解列表 2024年01月08日 0 点赞 0 评论 381 浏览 评分:9.9
1040: [编程入门]实数的打印 摘要:解题思路:注意事项:注意输出结束有空格参考代码:n = float(input())for i in range(1, 4): print(("{:6.2f}".format(n)) * i, …… 题解列表 2024年01月08日 0 点赞 0 评论 436 浏览 评分:0.0