蓝桥杯历届试题-回文数字 摘要:解题思路:代码思路有点乱注意事项:参考代码:#include<stdio.h>int main(){ int n,sum,a; int i,j,k,count=0; scanf("%d",&n); f…… 题解列表 2022年02月12日 0 点赞 0 评论 188 浏览 评分:0.0
Hifipsysta-1686-数据结构-定位子串(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string a,b; while(cin>>a>>…… 题解列表 2022年02月12日 0 点赞 0 评论 273 浏览 评分:0.0
简单的字符串(有思路C++) 摘要: #include using namespace std; // 因为每次只用对比后一个字符,所以这样模拟就行,但是 // 要注意最后一个字符怎么输出,其方法是…… 题解列表 2022年02月12日 0 点赞 0 评论 375 浏览 评分:0.0
蓝桥杯算法训练VIP-麦森数 摘要:1.无论是int还是long long都肯能会超出范围导致结果出错所以我们可以采用数组的方式进行存储[[1]数组高精度][小克林家的店铺] 2.如果采用逐个相乘得到高次幂,速度太慢,可以采用快速幂的…… 题解列表 2022年02月12日 0 点赞 1 评论 468 浏览 评分:9.9
Hfifipsysta-1688-数据结构-字符串插入(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string a,b; int pos; …… 题解列表 2022年02月12日 0 点赞 0 评论 255 浏览 评分:0.0
Hifipsysta-1687-数据结构-字符串连接(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ string mystr; while(getlin…… 题解列表 2022年02月12日 0 点赞 0 评论 295 浏览 评分:0.0
和最大子序列(正统动态规划解析) 摘要:```cpp #include #include #include using namespace std; int N; int *a; int ans=-10001; int dp…… 题解列表 2022年02月12日 0 点赞 0 评论 368 浏览 评分:9.9
转换的问题来了(进制转换C++) 摘要:```cpp #include #include #include using namespace std; char s[17] = {'0','1','2' ,'3' ,'4' ,'5'…… 题解列表 2022年02月12日 0 点赞 0 评论 282 浏览 评分:0.0
1148: C语言训练-计算1977! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define MAX 10000int main(){ int i, j, tmp, up,n; char a[MAX+1…… 题解列表 2022年02月12日 0 点赞 0 评论 206 浏览 评分:0.0
程序员美工梦(C++) 摘要: #include #include #include using namespace std; int main() { int …… 题解列表 2022年02月12日 0 点赞 0 评论 255 浏览 评分:0.0