分解质因数(C++代码) ```cpp#include#include#includeusingnamespacestd;boolisPrime(intn)//验证素数{intt=(int)sqrt(n);for(inti=2;i 题解列表 2023年07月12日 0 点赞 0 评论 615 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[6]; int n; scanf("%d…… 题解列表 2023年07月12日 0 点赞 0 评论 534 浏览 评分:0.0
计算多项式的值(C++代码) 摘要:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int main(){ double x,s…… 题解列表 2023年07月12日 0 点赞 0 评论 614 浏览 评分:9.9
jishuqiuhegggggggg 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int K; cin>>K; double…… 题解列表 2023年07月12日 0 点赞 0 评论 549 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a; scanf("%d", &n); while (n--) { …… 题解列表 2023年07月12日 0 点赞 0 评论 511 浏览 评分:9.9
2817: 级数求和 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k; double s=0; cin>>k; …… 题解列表 2023年07月12日 0 点赞 3 评论 703 浏览 评分:9.9
级数求和(光头强买冰箱) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k; double s=0; c…… 题解列表 2023年07月12日 0 点赞 0 评论 578 浏览 评分:9.9
数组插入处理 解题思路:可以想象成教室里面有一列,按照高矮顺序排位置,已经排列好了,突然有一个新同学加入,然后我们要把他按照高矮顺序对他进行排座才不会影响其他同学。我们需要加一个座位在最后。然后最高的坐最后然后次高的依次往后坐,只有后面的同学留出位置这样新来的同学才有位置坐下。 题解列表 2023年07月12日 0 点赞 0 评论 544 浏览 评分:0.0
菲波那契数列 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int k, a = 1, b = 1, c = 1; …… 题解列表 2023年07月12日 0 点赞 0 评论 611 浏览 评分:0.0
题解 2817: 级数求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k; double s=0; c…… 题解列表 2023年07月12日 0 点赞 0 评论 441 浏览 评分:9.9