二级C语言-计算素数和-题解(C++代码) 摘要:```cpp #include using namespace std; bool flag = true; long long ans = 0; bool isprime(int n…… 题解列表 2020年09月13日 0 点赞 0 评论 605 浏览 评分:0.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 评论 990 浏览 评分:9.0
[编程入门]密码破译-题解(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 评论 746 浏览 评分:8.0
蓝桥杯算法提高VIP-P1003 -题解(Python代码) 摘要:解题思路:注意事项:参考代码:g=list(input().strip().split()) l=list(input().strip().split()) re=[] for i in l: …… 题解列表 2020年09月13日 0 点赞 0 评论 639 浏览 评分:9.9
信息学奥赛一本通T1444-埃及分数-题解(C语言代码) 摘要:#### 解题思路: ##### 头部: ```c #include #include #define max(x, y) ((x) > (y) ? (x) : (y)) #defin…… 题解列表 2020年09月13日 0 点赞 1 评论 1090 浏览 评分:6.6
C语言训练-邮票组合问题*-题解(C语言代码) 摘要:解题思路:邮票总数在1-7之间,设为i;价值为3的邮票总数不超过i且不超过4,设为k;i-k则为价值5的邮票个数,此时一定满足不超过i,再判断其是否超过总数3即可。如果满足所有要求 则x加一。(有点不…… 题解列表 2020年09月14日 0 点赞 0 评论 838 浏览 评分:2.0
C语言训练-阶乘和数*-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <math.h>int main(){ int a,b,c,d,e; …… 题解列表 2020年09月14日 0 点赞 0 评论 1694 浏览 评分:0.0
蓝桥杯算法提高VIP-删除重复元素-题解(C++代码)详细注释 摘要:解题思路: 输入字符串 - 遍历字符串,数数每个字符出现的次数 - 遍历字符串,输出出现次数为 1 的字符注意事项:参考代码:#include <bits/stdc++.h> using na…… 题解列表 2020年09月14日 0 点赞 0 评论 648 浏览 评分:9.9
蓝桥杯2017年第八届真题-青蛙跳杯子-题解(C++代码) 摘要:```cpp #include using namespace std; int kong_x, ans; string s1, s2; int dir[] = {-3, -…… 题解列表 2020年09月14日 0 点赞 0 评论 770 浏览 评分:9.9
[编程入门]三个数最大值-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a[3],t; int i; for(i=0;i<3;i++){…… 题解列表 2020年09月14日 0 点赞 0 评论 1033 浏览 评分:0.0