送分啦,送经验啦!! 摘要:解题思路:没啥说的注意事项:没啥说的参考代码:#include<bits/stdc++.h>using namespace std;int main(){cout<<"yes"; return …… 题解列表 2022年02月12日 0 点赞 0 评论 305 浏览 评分:6.0
Hifipsysta-1686-数据结构-定位子串(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string a,b; while(cin>>a>>…… 题解列表 2022年02月12日 0 点赞 0 评论 301 浏览 评分:0.0
简单的字符串(有思路C++) 摘要: #include using namespace std; // 因为每次只用对比后一个字符,所以这样模拟就行,但是 // 要注意最后一个字符怎么输出,其方法是…… 题解列表 2022年02月12日 0 点赞 0 评论 400 浏览 评分:0.0
蓝桥杯算法训练VIP-麦森数 摘要:1.无论是int还是long long都肯能会超出范围导致结果出错所以我们可以采用数组的方式进行存储[[1]数组高精度][小克林家的店铺] 2.如果采用逐个相乘得到高次幂,速度太慢,可以采用快速幂的…… 题解列表 2022年02月12日 0 点赞 1 评论 494 浏览 评分:9.9
Hfifipsysta-1688-数据结构-字符串插入(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string a,b; int pos; …… 题解列表 2022年02月12日 0 点赞 0 评论 284 浏览 评分:0.0
Hifipsysta-1687-数据结构-字符串连接(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string mystr; while(getlin…… 题解列表 2022年02月12日 0 点赞 0 评论 322 浏览 评分:0.0
和最大子序列(正统动态规划解析) 摘要:```cpp #include #include #include using namespace std; int N; int *a; int ans=-10001; int dp…… 题解列表 2022年02月12日 0 点赞 0 评论 394 浏览 评分:9.9
转换的问题来了(进制转换C++) 摘要:```cpp #include #include #include using namespace std; char s[17] = {'0','1','2' ,'3' ,'4' ,'5'…… 题解列表 2022年02月12日 0 点赞 0 评论 307 浏览 评分:0.0
程序员的总统梦(C++) 摘要:```cpp #include "iostream" #include "algorithm" #include "vector" using namespace std; int main…… 题解列表 2022年02月12日 0 点赞 0 评论 296 浏览 评分:0.0
从基础不好的角度来进行gcd和lcm函数应用 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <iomanip>using namespace std;int gcd(int a, int b) { //求最…… 题解列表 2022年02月12日 0 点赞 0 评论 436 浏览 评分:9.9