蓝桥杯2016年第七届真题-冰雹数-仔细读题 摘要:####其实这题思路很简单,主要是题目有坑,(一个正整数,表示不大于N的数字,经过冰雹数变换过程中,最高冲到了多少)不大于N的数字,其实是从1-N的数字,在这些数字中找最大值,最后要注意,类型要用Lo…… 题解列表 2021年04月08日 0 点赞 0 评论 655 浏览 评分:0.0
Python代码,大道至简 摘要:解题思路:注意事项:参考代码:while True: n = list(map(int,input().split())) if n[0] == 0: exit(0) …… 题解列表 2021年04月08日 0 点赞 0 评论 465 浏览 评分:0.0
倒计时10_友好数 摘要:解题思路: 求公因数参考代码:#include<stdio.h> int main(){ int a,b; scanf("%d %d",&a,&b); int sum1=0,sum…… 题解列表 2021年04月08日 0 点赞 0 评论 448 浏览 评分:0.0
用stl的map函数进行排序(系统自动排序) 摘要:解题思路:#include<map> 为map头文件,每一行输入学号和成绩,所以可以把学号看成“键”,把成绩看成值。系统会根据键值自动进行排序,所以比较轻松 注意事项:主义map函数的初始化,比较复杂…… 题解列表 2021年04月08日 0 点赞 0 评论 860 浏览 评分:0.0
简单方式实现 逆序输出 摘要:解题思路:逆序输出注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char a[100…… 题解列表 2021年04月08日 0 点赞 0 评论 739 浏览 评分:0.0
容易理解的C语言代码 摘要:解题思路:注意事项: 数组长度要足够大,不然存储不了,空间不够参考代码:#include <stdio.h> #include <string.h> int main() { i…… 题解列表 2021年04月08日 0 点赞 0 评论 347 浏览 评分:0.0
简单python走起 摘要:解题思路:注意事项:参考代码:for i in range(100,335): l=[] a=i b=2*i c=3*i l.extend(…… 题解列表 2021年04月09日 0 点赞 0 评论 699 浏览 评分:0.0
简单python走起 摘要:解题思路:注意事项:参考代码:def cc(n): a=list(str(n)) b=list(str(n)) a.sort(reverse=True) b.…… 题解列表 2021年04月09日 0 点赞 0 评论 612 浏览 评分:0.0
简单python走起 摘要:解题思路:注意事项:参考代码:mas=input().split() mas_1=[len(i) for i in mas ] mx=mas_1.index(max(mas_1)) print(…… 题解列表 2021年04月09日 0 点赞 0 评论 559 浏览 评分:0.0
虽然麻烦了不少,但是思路很简单 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class test1255 { /** * @param args */ …… 题解列表 2021年04月09日 0 点赞 0 评论 517 浏览 评分:0.0