1479: 蓝桥杯算法提高VIP-删除数组中的0元素 摘要:解题思路:注意事项:参考代码:n=int(input()) ls=list(map(int,input().split())) while 0 in ls: ls.remove(0) …… 题解列表 2022年02月04日 0 点赞 0 评论 217 浏览 评分:0.0
递归翻转字符串 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2022年02月04日 0 点赞 0 评论 167 浏览 评分:0.0
1466: 蓝桥杯基础练习VIP-字符串对比 摘要:解题思路:注意事项:参考代码:n = input() m = input() def bj(a,b): s =0 for i in range(len(a)): …… 题解列表 2022年02月04日 0 点赞 0 评论 150 浏览 评分:0.0
【露离】编写题解 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:n=int(input())x=1for i in range(2,n+1):#第n天没吃,第n天只有一个桃 x=(x+1)*2#倒数第二天剩4个,n=3时,吃了2…… 题解列表 2022年02月04日 0 点赞 0 评论 200 浏览 评分:0.0
高精度乘法 (Java代码) 摘要:import java.math.BigInteger; import java.util.Scanner; public class Main { public static voi…… 题解列表 2022年02月04日 0 点赞 0 评论 279 浏览 评分:9.9
数列排序(用容器比较快) 摘要:解题思路:注意事项:参考代码:#include<vector>#include<iostream>#include<string>#include<algorithm>#include<cmath>#…… 题解列表 2022年02月04日 0 点赞 0 评论 249 浏览 评分:0.0
明明的随机数 (Java代码) 摘要:import java.util.Arrays; import java.util.HashSet; import java.util.Scanner; public class Main …… 题解列表 2022年02月04日 0 点赞 0 评论 273 浏览 评分:9.9
(c语言)哥德巴赫曾猜测 摘要:```c //思路:先求出2到n的素数并保存在数组中,之后直接对数组元素进行判断即可 #include int a[10000]={0};//定义一个足够大的数组 int fun(int n…… 题解列表 2022年02月04日 0 点赞 0 评论 256 浏览 评分:0.0
python-水仙花数-问题2 摘要:解题思路:从100到1000内的水仙花数注意事项:参考代码:num=100while(num<1000): g=int(num%10)#个位 s=int(num/10%10)#十位 …… 题解列表 2022年02月04日 0 点赞 0 评论 352 浏览 评分:9.9
1463: 蓝桥杯基础练习VIP-Sine之舞 摘要:解题思路:注意事项:参考代码:n = int(input()) def an(n): an='' for i in range(1,n+1): …… 题解列表 2022年02月04日 0 点赞 0 评论 212 浏览 评分:0.0