单词翻转(C++代码解析) 摘要:代码解析:首先,引入了必要的头文件,包括iostream、string和sstream。这些头文件分别用于输入输出操作、字符串处理和字符串流处理。接下来,定义了一个reverseWord函数,它接受一…… 题解列表 2023年07月16日 0 点赞 0 评论 653 浏览 评分:8.0
题目 1487: 蓝桥杯算法提高VIP-不同单词个数统计题解 摘要:1.解题思路虽然输入方法不一样,但是都有一个共同点:m为单词的个数,后头的算法一样,先把重复的单词设为空,再数有多少个不是空格的元素。2.参考代码:2.1.用gets#include<iostream…… 题解列表 2023年07月16日 0 点赞 0 评论 451 浏览 评分:0.0
2020: 快速排序练习-关键值取数组第一个元素L 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; void qsort(int* arr,int …… 题解列表 2023年07月15日 0 点赞 0 评论 255 浏览 评分:0.0
大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(i…… 题解列表 2023年07月15日 0 点赞 0 评论 226 浏览 评分:0.0
2518: 信息学奥赛一本通T1620-质因数分解 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(int i=2;i <…… 题解列表 2023年07月15日 0 点赞 0 评论 533 浏览 评分:9.9
-质因数分解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a=0,maxx=0; cin>>…… 题解列表 2023年07月15日 0 点赞 0 评论 281 浏览 评分:0.0
2832: 第n小的质数2 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; for(int i…… 题解列表 2023年07月15日 0 点赞 0 评论 563 浏览 评分:9.9
2832: 第n小的质数 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; for(int i…… 题解列表 2023年07月15日 1 点赞 3 评论 244 浏览 评分:9.9
第n小的质数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2023年07月15日 0 点赞 0 评论 266 浏览 评分:0.0
筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(i…… 题解列表 2023年07月15日 0 点赞 0 评论 363 浏览 评分:0.0