编写题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; if (a%2==0)…… 题解列表 2023年12月08日 0 点赞 0 评论 395 浏览 评分:0.0
题解 2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:##include<iostream>using namespace std;int main(){ int a,b,n,m; cin>>a>>b>>n; …… 题解列表 2023年12月08日 0 点赞 0 评论 465 浏览 评分:0.0
题解 2773: 计算线段长度 摘要:解题思路:自行抄题解注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb,a,…… 题解列表 2023年12月08日 0 点赞 0 评论 484 浏览 评分:2.0
题解 2908: 白细胞计数 #includeusingnamespacestd;intmain(){intn;doubleo;floatnum=0,a[3000];cin>>n;for(inti=0;i>a[i];sort(a,a+n);for(inti=1;i 题解列表 2023年12月08日 0 点赞 0 评论 475 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:通过两个for循环来完成注意事项:参考代码:#include <iostream>using namespace std;int main() { int a[10]; for (int i…… 题解列表 2023年12月08日 0 点赞 0 评论 415 浏览 评分:0.0
题解 3000: 交换值 摘要:解题思路:无注意事项:用int参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; c…… 题解列表 2023年12月07日 0 点赞 0 评论 870 浏览 评分:9.9
LJX.......................................................... 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x; cin >> x; cout << x…… 题解列表 2023年12月07日 0 点赞 0 评论 694 浏览 评分:9.9
正常血压题解2814(c++) 摘要:#include using namespace std; int main(){ int a,b,c,d=0,e=0; cin>>a; for(int i=1;i>b>>c; …… 题解列表 2023年12月07日 0 点赞 0 评论 612 浏览 评分:9.9
Yu:2809斐波那契数列 ####解题思路:数列:11235813我们分别用a,b代表第一个值和第二个值。不断更新这两个值就可以。在更新这两个值时,我们会先更新第一个值,而第二个值会受到第一个值的变化的影响。所以我们可以使用**方法一**,利用p保存好b。也可以使用**方法二**,找到不影响第二个值的规律。 题解列表 2023年12月07日 0 点赞 0 评论 710 浏览 评分:9.9
LJX........................................................ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x; cin >> x; cout << x…… 题解列表 2023年12月06日 0 点赞 0 评论 626 浏览 评分:9.9