2022: 合并区间 摘要:解题思路:类似于归并排序的方法注意事项:注意自己设置的变量,决定是否要加=;参考代码:#include<bits/stdc++.h> using namespace std; int main()…… 题解列表 2022年03月05日 0 点赞 0 评论 403 浏览 评分:0.0
编写题解 1246: 第几天 摘要:解题思路:注意事项:参考代码:def isy(st): if st%100==0: if st%400==0: return 1 & 题解列表 2022年03月05日 0 点赞 0 评论 340 浏览 评分:0.0
Let the Balloon Rise_python 摘要:解题思路:1.while循环判断n的值是否为0 2.for循环输入颜色的值,将其存入列表中 3.用count()函数计数,并且将列表值和计数值放进字典中 4.对字典进行排序,按照要求找到需要的出现最多…… 题解列表 2022年03月05日 0 点赞 0 评论 425 浏览 评分:0.0
1244: 破解简单密码 摘要:解题思路:注意事项:参考代码:dicnum={} for i in range(ord('a'),ord('d')): dicnum[chr(i)]=2 …… 题解列表 2022年03月05日 0 点赞 0 评论 472 浏览 评分:0.0
编写题解 1242: 矩阵转置 摘要:解题思路:注意事项:参考代码:n=int(input()) ls=[] for i in range(n): ls.append(list(map(int,input().split(…… 题解列表 2022年03月05日 0 点赞 0 评论 375 浏览 评分:0.0
Java题解1556: 蓝桥杯算法提高VIP-统计单词数 摘要:解题思路:注意事项:参考代码:import java.io.*; import java.util.LinkedHashMap; import java.util.Map; import jav…… 题解列表 2022年03月05日 0 点赞 0 评论 386 浏览 评分:0.0
数组解,C语言训练-求1+2!+3!+...+N!的和 摘要:解题思路:注意事项:数字太大,要用到long。参考代码:#include<stdio.h>int main(){long a[20]={0,1};int i,n;long long sum=0;sca…… 题解列表 2022年03月05日 0 点赞 0 评论 405 浏览 评分:0.0
1042: [编程入门]电报加密 摘要:解题思路:读取输入的字符串(带空格),指针传给子函数,所有字母的ASCii码值+1,遇到z就ASCii码值-25,再把修改后的字符串传出。注意事项:(1)字符串的长度最好定义大一点,maxSize =…… 题解列表 2022年03月05日 0 点赞 0 评论 456 浏览 评分:0.0
Mispelling4_python 摘要:解题思路:注意事项:参考代码:n=int(input())list1=[]for i in range(n): list1.append(input().split())for i in ran…… 题解列表 2022年03月05日 0 点赞 0 评论 440 浏览 评分:0.0
1976: 蓝桥杯算法提高VIP-删除重复元素(JAVA) 摘要:解题思路:注意事项:参考代码:import java.util.ArrayList; import java.util.Scanner; public class Main { pu…… 题解列表 2022年03月05日 0 点赞 0 评论 431 浏览 评分:0.0