级数求和(光头强买冰箱) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k; double s=0; c…… 题解列表 2023年07月12日 0 点赞 0 评论 577 浏览 评分:9.9
菲波那契数列 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int k, a = 1, b = 1, c = 1; …… 题解列表 2023年07月12日 0 点赞 0 评论 610 浏览 评分:0.0
题解 2817: 级数求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k; double s=0; c…… 题解列表 2023年07月12日 0 点赞 0 评论 438 浏览 评分:9.9
数1的个数(C++代码) 摘要:参考代码:#include<iostream>using namespace std;int countOnes(int n) { int count = 0; for (int i = …… 题解列表 2023年07月12日 0 点赞 0 评论 638 浏览 评分:8.0
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; int n; cin…… 题解列表 2023年07月12日 0 点赞 0 评论 575 浏览 评分:0.0
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n ; cin>>a>>n; …… 题解列表 2023年07月12日 0 点赞 0 评论 552 浏览 评分:0.0
信息学奥赛一本通T1620-质因数分解(C++代码) 摘要:参考代码:#include<iostream>using namespace std;int findLargerPrimeFactor(int n) { int largerPrime = 0…… 题解列表 2023年07月12日 0 点赞 0 评论 546 浏览 评分:9.9
第n小的质数(C++代码) 参考代码```cpp#include#includeusingnamespacestd;boolisPrime(intnumber){if(number<2){returnfalse;}for(inti=2;i*i>n;intnthPrime=findNthPrime(n);cout 题解列表 2023年07月12日 0 点赞 0 评论 878 浏览 评分:9.9
计算球体积(C++代码) 摘要:参考代码:#include <iostream>#include <cmath> // 包含cmath头文件来使用pow函数和M_PI常量#include<iomanip>using namespa…… 题解列表 2023年07月12日 0 点赞 0 评论 934 浏览 评分:0.0
简单又实用 摘要:参考代码:#include <iostream>#include <cmath> // 包含cmath头文件来使用M_PI常量using namespace std;int main() { …… 题解列表 2023年07月12日 0 点赞 0 评论 836 浏览 评分:9.9