编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0, c = 0; scanf("%d %d %d", …… 题解列表 2022年07月29日 0 点赞 0 评论 359 浏览 评分:0.0
蓝桥杯2015年第六届真题-切开字符串c++使用string与map进行求解 摘要:解题思路:首先题目要求的是将字符串任意切割成两半(且两半都不能为空,说实话有一半都是空的那其实也没切对吧),然后在前一部分寻找正回文子串(长度为奇数的回文串,注意这里包括1个字符的子串)并统计下来,后…… 题解列表 2022年07月29日 0 点赞 0 评论 662 浏览 评分:9.9
编写题解 1007: [编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int x = 0, y = 0; scanf("%d", &x); if …… 题解列表 2022年07月29日 0 点赞 0 评论 296 浏览 评分:0.0
编写题解 1006: [编程入门]三个数找最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0, c = 0; int max = 0; sca…… 题解列表 2022年07月29日 0 点赞 0 评论 405 浏览 评分:0.0
C# 蓝桥杯算法训练VIP-最长字符串-size 摘要:```cpp #include using namespace std; string s,ss; int main() { for(int i=0;i>s; if(…… 题解列表 2022年07月29日 0 点赞 0 评论 304 浏览 评分:0.0
C# 字符串编辑-insert -erase-find 摘要:```cpp #include using namespace std; int main() { int t=0; string s; char n,m,a1,a2; …… 题解列表 2022年07月29日 0 点赞 0 评论 410 浏览 评分:0.0
1851: 求所给范围内水仙花数并排列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int i; int m,n; int a[100][100]={0}; int t=0,q=0; in…… 题解列表 2022年07月28日 0 点赞 0 评论 444 浏览 评分:0.0
题解 1218: 排列。这道题的关键点是输入到数组里的4个字符本身是不可以进行排序的,它们是按照已经规定好的顺序进行的排列。 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[5]={0},b[4] = {0,…… 题解列表 2022年07月28日 0 点赞 0 评论 478 浏览 评分:9.9
用字符串流stringstream方法解题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; string a; getch…… 题解列表 2022年07月28日 0 点赞 0 评论 416 浏览 评分:0.0
递归解题编写题解 1004: [递归]母牛的故事 摘要:解题思路:可以通过对前面几个数据进行总结规律注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int f[1000]={0};int dfc(i…… 题解列表 2022年07月28日 0 点赞 0 评论 401 浏览 评分:6.0