编写题解 1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[3][3]; for(int i = 0;i<3;i++) …… 题解列表 2023年03月26日 0 点赞 0 评论 169 浏览 评分:0.0
IP判断——python 摘要:解题思路:注意事项:参考代码:while True: try: L = list(map(str,input().split('.'))) s = 0…… 题解列表 2023年03月26日 0 点赞 0 评论 283 浏览 评分:0.0
除了数组,的其他两种解法 摘要:解题思路:一种通俗易懂易学,一种是优化后的解法 总体思路就是简单的求位数数字的数学方法,先/后%就行注意事项:细心就行,主要要把循环结构每一步的循环结构弄明白才行参考代码:数组解法入下#include…… 题解列表 2023年03月26日 0 点赞 0 评论 314 浏览 评分:0.0
1072: 汽水瓶 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include…… 题解列表 2023年03月26日 0 点赞 0 评论 217 浏览 评分:0.0
自定义函数 摘要:def fact(n): x=1 for i in range(1,n+1): x=x*i return x def mypow(x,n): …… 题解列表 2023年03月26日 0 点赞 0 评论 297 浏览 评分:0.0
python不同单词个数统计 摘要:解题思路:set去重注意事项:参考代码:L = list(map(str,input().split()))L = list(set(L))print(len(L))…… 题解列表 2023年03月26日 0 点赞 0 评论 303 浏览 评分:0.0
水仙花数判断 摘要:for i in range(1,9): for j in range(0,9): for k in range(0,9): if i*100+j*10+k=…… 题解列表 2023年03月26日 0 点赞 0 评论 308 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-糖果 状态压缩dp 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class 糖果 { static int[] dp…… 题解列表 2023年03月26日 0 点赞 0 评论 290 浏览 评分:0.0
蓝桥杯算法提高VIP-数组替换 摘要:解题思路:注意事项:要加L[a+b:]参考代码:m,n = map(int,input().split())L1 = list(map(int,input().split()))L2 = list(m…… 题解列表 2023年03月26日 0 点赞 0 评论 322 浏览 评分:0.0
分数统计python 摘要:解题思路:写个题解,这么多代码不能白敲了。。。。注意事项:参考代码:n = int(input())a = b = c = d = e = 0L1 = []L2 = []L3 = []L4 = []L…… 题解列表 2023年03月26日 0 点赞 0 评论 347 浏览 评分:0.0