题解列表

筛选

题解 2773: 计算线段长度

摘要:解题思路:自行抄题解注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double xa,ya,xb,yb,a,……

陶陶摘苹果

摘要:解题思路:通过两个for循环来完成注意事项:参考代码:#include <iostream>using namespace std;int main() { int a[10]; for (int i……

题解 3000: 交换值

摘要:解题思路:无注意事项:用int参考代码:#include<iostream>using namespace std;int main(){    int a,b;    cin>>a>>b;    c……

Yu:2809斐波那契数列

摘要:#### 解题思路: 数列:1 1 2 3 5 8 13 我们分别用a,b代表第一个值和第二个值。不断更新这两个值就可以。 在更新这两个值时,我们会先更新第一个值,而第二个值会受到第……