1638: 蓝桥杯算法训练VIP-新生舞会 摘要:解题思路:注意事项:参考代码:n=int(input()) dic={} for i in range(n): name,num,m=map(str,input().split()) …… 题解列表 2022年04月26日 0 点赞 0 评论 344 浏览 评分:0.0
1644: 蓝桥杯算法训练VIP-最长字符串 摘要:解题思路:注意事项:参考代码:ls=list(map(str,input().split())) ind=0 ln=-1 for i in range(len(ls)): if len…… 题解列表 2022年04月26日 0 点赞 0 评论 408 浏览 评分:0.0
1647: 蓝桥杯算法训练VIP-水仙花 摘要:解题思路:注意事项:参考代码:num=input().strip() n=int(num) sum_=0 for i in num: sum_+=int(i)**3 if sum_=…… 题解列表 2022年04月26日 0 点赞 0 评论 384 浏览 评分:0.0
1649: 蓝桥杯算法训练VIP-特殊的数字四十 摘要:for i in range(1,10): for j in range(10): for k in range(10): &nbs 题解列表 2022年04月26日 0 点赞 0 评论 316 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 摘要:解题思路:注意事项:参考代码:from math import *a,b,c=map(int,input().split())s=a*b//gcd(a,b)ans=s*c//gcd(s,c)print…… 题解列表 2022年04月26日 0 点赞 0 评论 325 浏览 评分:0.0
注意输出的内容大小写 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ float f, c;//定义浮点数变量 //c=5(F-32)/9 …… 题解列表 2022年04月26日 0 点赞 0 评论 627 浏览 评分:0.0
1653: 蓝桥杯算法训练VIP-矩阵加 摘要:解题思路:注意事项:参考代码:n,m= map(int,input().split()) ls_1=[] for i in range(n): ls_1.append(list(map(…… 题解列表 2022年04月26日 0 点赞 0 评论 398 浏览 评分:0.0
1654: 蓝桥杯算法训练VIP-确定元音字母位置 摘要:解题思路:注意事项:参考代码:s=input() ls=['a','e','o','u','i'] su=0 fo…… 题解列表 2022年04月26日 0 点赞 0 评论 341 浏览 评分:0.0
编写题解 1479: 蓝桥杯算法提高VIP-删除数组中的0元素 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;void CompactIntegers(vector<int…… 题解列表 2022年04月26日 0 点赞 0 评论 332 浏览 评分:0.0
编写题解 1483: 蓝桥杯算法提高VIP-数组替换---82同学看过来 摘要:解题思路:分别用两个vector容器存储输入的数据,把两个数组中要求取出的元素放到一个容器中,最后整体输出注意事项: 判断要取出的两个数组的元素的个数加起来是否超过了原本的第一个数组的大小,如果没有超…… 题解列表 2022年04月26日 0 点赞 0 评论 345 浏览 评分:0.0