2019: 滚动的榜单 摘要:解题思路:注意事项:参考代码:n = int(input()) ls = list(map(int,input().split())) m = int(input()) lis = ls[:m]…… 题解列表 2022年01月12日 0 点赞 0 评论 353 浏览 评分:0.0
编写题解 2256: 蓝桥杯算法提高-成绩排名(python) 摘要:解题思路:注意事项:参考代码:a=int(input())t={}for i in range(0,a): x=input().split() t[x[0]]=int(x[1])a=sor…… 题解列表 2022年01月12日 0 点赞 0 评论 349 浏览 评分:0.0
2059: [STL训练]sort练习 摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split()) lis = list(map(int,input().split())) lis.sort(revers…… 题解列表 2022年01月12日 0 点赞 0 评论 426 浏览 评分:0.0
2062: [STL训练]第二小整数 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): m = int(input()) ls = list(map(int,inp…… 题解列表 2022年01月12日 0 点赞 0 评论 287 浏览 评分:0.0
2080: 蓝桥杯基础练习-十六进制转八进制 摘要:解题思路:注意事项:参考代码:n = int(input()) def to_ten(x): #转换成10进制 dic = {'A':10,'B':11…… 题解列表 2022年01月12日 0 点赞 0 评论 362 浏览 评分:0.0
编写题解 1479: 蓝桥杯算法提高VIP-删除数组中的0元素(python) 摘要:解题思路:注意事项:参考代码:def CompactIntegers(arr,length): global arr_new arr_new=[] for i in range(0,…… 题解列表 2022年01月12日 0 点赞 0 评论 380 浏览 评分:0.0
数组类型来代替使用指针 摘要:解题思路:用数组不用指针更方便注意事项:写不等式记得用&&参考代码:#include<stdio.h>#include<string.h>void s(char a[],int b[]);int ma…… 题解列表 2022年01月12日 0 点赞 0 评论 376 浏览 评分:0.0
反向_不会暴力 摘要:#include <stdio.h> int main() { int sum=0,sum2=0; for(int a=1;;a++){ sum+=2*a*17; …… 题解列表 2022年01月12日 0 点赞 0 评论 269 浏览 评分:0.0
小明A+B(简单易懂) 摘要:解题思路:对于每一组测试数据,最好先将两个加数相加然后对于100求余,就不难得到输出结果了。注意事项:参考代码:#include<stdio.h>int main(){ int n; int a…… 题解列表 2022年01月12日 0 点赞 0 评论 294 浏览 评分:0.0
利用指针进行操作 摘要:解题思路:先定义一个空字符数组,将指针指向第m个字符,依次将字符复制到空数组中注意事项:参考代码:#include <stdio.h>#include <string.h>int n,m;int ma…… 题解列表 2022年01月12日 0 点赞 0 评论 324 浏览 评分:0.0