题解列表

筛选

分解质因数(C++代码)

摘要:```cpp #include #include #include using namespace std; bool isPrime(int n) // 验证素数 { ……

jishuqiuhegggggggg

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    int K;    cin>>K;    double……

2817: 级数求和

摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int k;    double s=0;    cin>>k;    ……

级数求和(光头强买冰箱)

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int k;    double s=0;    c……

菲波那契数列

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

题解 2817: 级数求和

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int k;    double s=0;    c……

数1的个数(C++代码)

摘要:参考代码:#include<iostream>using namespace std;int countOnes(int n) {    int count = 0;    for (int i = ……