蓝桥杯算法提高VIP-删除重复元素-题解(C++代码)详细注释 摘要:解题思路: 输入字符串 - 遍历字符串,数数每个字符出现的次数 - 遍历字符串,输出出现次数为 1 的字符注意事项:参考代码:#include <bits/stdc++.h> using na…… 题解列表 2020年09月14日 0 点赞 0 评论 811 浏览 评分:9.9
C语言训练-阶乘和数*-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <math.h>int main(){ int a,b,c,d,e; …… 题解列表 2020年09月14日 0 点赞 0 评论 1887 浏览 评分:0.0
C语言训练-邮票组合问题*-题解(C语言代码) 摘要:解题思路:邮票总数在1-7之间,设为i;价值为3的邮票总数不超过i且不超过4,设为k;i-k则为价值5的邮票个数,此时一定满足不超过i,再判断其是否超过总数3即可。如果满足所有要求 则x加一。(有点不…… 题解列表 2020年09月14日 0 点赞 0 评论 935 浏览 评分:2.0
信息学奥赛一本通T1444-埃及分数-题解(C语言代码) 摘要:#### 解题思路: ##### 头部: ```c #include #include #define max(x, y) ((x) > (y) ? (x) : (y)) #defin…… 题解列表 2020年09月13日 0 点赞 1 评论 1197 浏览 评分:6.6
蓝桥杯算法提高VIP-P1003 -题解(Python代码) 摘要:解题思路:注意事项:参考代码:g=list(input().strip().split()) l=list(input().strip().split()) re=[] for i in l: …… 题解列表 2020年09月13日 0 点赞 0 评论 846 浏览 评分:9.9
[编程入门]密码破译-题解(C语言代码) 摘要:```c #include int main(){ char a,b,c,d,e; scanf("%c%c%c%c%c",&a,&b,&c,&d,&e); print…… 题解列表 2020年09月13日 0 点赞 0 评论 818 浏览 评分:8.0
[编程入门]温度转换-题解(C语言代码) 摘要:```c /*c=5*(f-32)/9 f=c*9/5+32*/ #include int main(){ double f,c; scanf("%lf",&f); …… 题解列表 2020年09月13日 0 点赞 3 评论 1036 浏览 评分:9.0
二级C语言-计算素数和-题解(C++代码) 摘要:```cpp #include using namespace std; bool flag = true; long long ans = 0; bool isprime(int n…… 题解列表 2020年09月13日 0 点赞 0 评论 736 浏览 评分:0.0
两数之和-题解(C++代码) 摘要:解题思路: 没想到更好的,就暴力吧注意事项: 插一句,给了数据量n,new一个数组再delete不好吗......纠结什么参考代码:#include<bits/stdc++…… 题解列表 2020年09月13日 0 点赞 0 评论 1043 浏览 评分:0.0
[编程入门]三个数最大值-题解(C++代码) 摘要:```cpp #include using namespace std; int max(int x, int y) { if (x>=y) return x; else r…… 题解列表 2020年09月13日 0 点赞 0 评论 730 浏览 评分:0.0