2000: 偶数列举 摘要:解题思路:注意事项:循环变量是n参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; …… 题解列表 2024年01月08日 0 点赞 0 评论 233 浏览 评分:9.9
2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<…… 题解列表 2024年01月08日 0 点赞 0 评论 244 浏览 评分:9.9
题解 2000 偶数列举 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(i…… 题解列表 2024年01月08日 0 点赞 0 评论 218 浏览 评分:8.0
题解 2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin>>a; for(int i=…… 题解列表 2024年01月08日 0 点赞 0 评论 265 浏览 评分:6.0
1764: 循环入门练习1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum=0; //累加器 for(i…… 题解列表 2024年01月08日 0 点赞 0 评论 233 浏览 评分:9.9
排队打水问题贪心求解 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int N = 510; in…… 题解列表 2024年01月08日 0 点赞 0 评论 207 浏览 评分:0.0
3010: 奇偶数之和(超简单) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; long long…… 题解列表 2024年01月08日 0 点赞 0 评论 123 浏览 评分:0.0
题解 3010: 奇偶数之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n,s1,s2; s1=0; …… 题解列表 2024年01月08日 0 点赞 0 评论 151 浏览 评分: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 评论 120 浏览 评分:0.0
2777: 计算2的幂(超级简单) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; long long…… 题解列表 2024年01月08日 0 点赞 0 评论 139 浏览 评分:0.0