蓝桥杯2016年第七届真题-冰雹数("语文"+数学) **解题思路:*****主要是读题==***```cpp一个正整数,表示不大于N的数字,经过冰雹数变换过程中,最高冲到了多少```求的是所有不大于N的数中,最高冲到的高度,而这N个数,每个数又能冲到一个属于自己的最高度代码比较简单:```cpp#include#includeusingnamespac 题解列表 2022年02月19日 0 点赞 0 评论 757 浏览 评分:9.9
编写题解 1210: 小明A+B 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n): a,b=map(int,input().split()) c=int(str(a…… 题解列表 2022年02月19日 0 点赞 0 评论 518 浏览 评分:9.9
编写题解 1207: 字符排列问题 摘要:解题思路:注意事项:参考代码:n=int(input()) m=input() ls=[] for i in set(m): ls.append(m.count(i)) s=1 …… 题解列表 2022年02月19日 0 点赞 0 评论 432 浏览 评分:0.0
编写题解 1204: 大小写转换 摘要:解题思路:注意事项:参考代码:while True: try: a=input() for i in a: 题解列表 2022年02月19日 0 点赞 2 评论 769 浏览 评分:0.0
1575: 蓝桥杯算法提高VIP-递归倒置字符数组 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int i=0; char s[8000]; void f(int n) { …… 题解列表 2022年02月19日 0 点赞 0 评论 450 浏览 评分:0.0
平面切分(C++) ```cpp#includeusingnamespacestd;constintN=1005;setline;inta[N],b[N],ans=1;intcalc(inta,intb){setnode;for(set::iteratori=line.begin();i!=line.end();i++) 题解列表 2022年02月19日 0 点赞 0 评论 1459 浏览 评分:9.9
[编程入门]链表合并 ```cpp#include#includetypedefstructstudent{intid;intscore;}student;//链表typedefstructLNode{structstudentmystudent;structLNode*next;}LNode, 题解列表 2022年02月19日 0 点赞 0 评论 695 浏览 评分:0.0
蓝桥杯2013年第四届真题-带分数(java代码) 解题思路:因为要用1-9的每个数字组成带分数,所以创建一个包含1-9的数组,进行全排列,然后再对排列的情况进行组合,组合过后比较是否等于输入的数。注意事项:参考代码:importjava.util.Scanner;publicclass带分数{staticintres=0;staticintn;pub 题解列表 2022年02月19日 0 点赞 0 评论 680 浏览 评分:9.9
编写题解 1197: 发工资咯 摘要:解题思路:注意事项:参考代码:while True: ls=list(map(int,input().split())) if ls[0]==0: break …… 题解列表 2022年02月19日 0 点赞 0 评论 592 浏览 评分:9.9
弟弟的作业(C++) 摘要:**解题思路:** 算式答案可能为 字符 "?" ,也可能是数字,所以在进行正确判断前,要将字符型转化为整型 运用库函数 atoi(s.s_str()),可以将字符串(string或者char[]…… 题解列表 2022年02月19日 0 点赞 1 评论 666 浏览 评分:9.9