信息学奥赛一本通T1307-高精度乘法c++ 摘要:解题思路:看下面↓注意事项:多注意注意参考代码:#include<bits/stdc++.h>using namespace std;const int N=2e+3+10;int x[N]={0},…… 题解列表 2023年07月16日 0 点赞 0 评论 611 浏览 评分:9.9
1099: 校门外的树(简单c++) 摘要:解题思路:1.#include <bits/stdc++.h> using namespace std; long long a[100000];//创造数组 int main() { …… 题解列表 2023年07月16日 0 点赞 0 评论 166 浏览 评分:9.9
最长最短单词(C++代码解析) 摘要:代码解析:引入了必要的头文件,包括iostream、string和sstream和vector头文件用于使用向量容器。接下来,定义了一个getWords函数,该函数接受一个字符串sentence作为参…… 题解列表 2023年07月16日 0 点赞 0 评论 575 浏览 评分:9.9
单词翻转(C++代码解析) 摘要:代码解析:首先,引入了必要的头文件,包括iostream、string和sstream。这些头文件分别用于输入输出操作、字符串处理和字符串流处理。接下来,定义了一个reverseWord函数,它接受一…… 题解列表 2023年07月16日 0 点赞 0 评论 546 浏览 评分:8.0
题目 1487: 蓝桥杯算法提高VIP-不同单词个数统计题解 摘要:1.解题思路虽然输入方法不一样,但是都有一个共同点:m为单词的个数,后头的算法一样,先把重复的单词设为空,再数有多少个不是空格的元素。2.参考代码:2.1.用gets#include<iostream…… 题解列表 2023年07月16日 0 点赞 0 评论 351 浏览 评分:0.0
2020: 快速排序练习-关键值取数组第一个元素L 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; void qsort(int* arr,int …… 题解列表 2023年07月15日 0 点赞 0 评论 161 浏览 评分:0.0
大等于n的最小完全平方数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(i…… 题解列表 2023年07月15日 0 点赞 0 评论 159 浏览 评分: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 评论 466 浏览 评分:9.9
-质因数分解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a=0,maxx=0; cin>>…… 题解列表 2023年07月15日 0 点赞 0 评论 208 浏览 评分: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 评论 494 浏览 评分:9.9