蓝桥杯2020年第十一届国赛真题-循环小数C语言解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int p,q,x; scanf("%d%d",&p,&q); …… 题解列表 2022年02月20日 0 点赞 0 评论 1314 浏览 评分:7.2
十->二进制转换 ```cpp#include#include#includetypedefstructSNode{longlongdata;structSNode*next;}SNode,*LinkStack;intInitSNode(LinkStack&S){S=(SNode*)malloc(sizeof(SNod 题解列表 2022年02月20日 0 点赞 0 评论 596 浏览 评分:0.0
1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:li = list(map(int, input().split()))for i in li[::-1]: print(i,end=' ')…… 题解列表 2022年02月20日 0 点赞 0 评论 545 浏览 评分:0.0
1025: [编程入门]数组插入处理 解题思路:注意事项:参考代码:li=list(map(int,input().split()))a=eval(input())li.append(a)li.sort(reverse=False)foriinrange(10):print(li[i]) 题解列表 2022年02月20日 0 点赞 0 评论 623 浏览 评分:0.0
P1081 题解 (Java代码) 摘要:import java.util.LinkedHashMap; import java.util.Scanner; public class Main{ public static v…… 题解列表 2022年02月20日 0 点赞 0 评论 510 浏览 评分:0.0
1431: 蓝桥杯2014年第五届真题-分糖果(java代码) 摘要:解题思路: 没有太多技巧,模拟每一次动作,然后判断就完事。注意事项:参考代码:import java.util.Scanner;public class 分糖果 { public static …… 题解列表 2022年02月20日 0 点赞 0 评论 524 浏览 评分:0.0
二级c语言-计负均正(C++ 代码) 解题思路:1、先定义20大小的数组,两个计数count,分别用来计算正数和负数的个数2、定义sum用来计算正数的和,用ave来计算正数的平均数注意事项:1、计算平均数要记得类型转换2、输出负数个数(count1)后要记得换行参考代码:#includeusingnamespacest 题解列表 2022年02月20日 0 点赞 0 评论 844 浏览 评分:8.0
还行,一般般吧 摘要:解题思路:注意事项:参考代码:def hanshu(a, b, c): det = b ** 2 - 4 * a * c if det > 0: x1 = (-b + pow…… 题解列表 2022年02月20日 0 点赞 0 评论 723 浏览 评分:9.9
记录一蛤 T#T 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#include<string.h>#include<ctype.h>int even(int a){ …… 题解列表 2022年02月20日 0 点赞 0 评论 437 浏览 评分:0.0
二级C语言-进制转换 ```cpp#include#includetypedefstructSNode{intdata;structSNode*next;}SNode,*LinkStack;intInitSNode(LinkStack&S){S=(SNode*)malloc(sizeof(SNode));S=NULL;re 题解列表 2022年02月20日 0 点赞 0 评论 611 浏览 评分:0.0