蒟蒻勿怪,蒟蒻%%%%%% 摘要:刚刚学python ```python n, m = map(int, input().split(' ')) list_a = [] for i in range(n + m): …… 题解列表 2024年05月16日 0 点赞 0 评论 598 浏览 评分:9.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:slen=int(input()) print(sum(int(input()) for i in range(slen))//slen)…… 题解列表 2024年05月11日 0 点赞 0 评论 717 浏览 评分:0.0
Python 模拟解决[100分] 摘要:解题思路:模拟法注意事项:参考代码: n = int(input()) nums = list(map(int,input().split())) res = 0 def add_(n…… 题解列表 2024年05月10日 0 点赞 0 评论 599 浏览 评分:0.0
砍 柴 摘要:解题思路:注意事项:参考代码:import mathdef get_primes(max_val): v = [True] * (max_val + 1) for x in range(2, …… 题解列表 2024年05月06日 3 点赞 0 评论 1399 浏览 评分:9.9
挖 矿 摘要:解题思路:注意事项:参考代码:N = int(2e6 + 10)n, m = map(int, input().split())a = list(map(int, input().split()))l…… 题解列表 2024年05月06日 0 点赞 0 评论 937 浏览 评分:9.9
封闭图形个数 摘要:解题思路:注意事项:参考代码:class number: def __init__(self, v, c): self.v = v self.c = c def __l…… 题解列表 2024年05月06日 0 点赞 0 评论 692 浏览 评分:0.0
数字诗意-找规律 摘要:解题思路:注意事项:参考代码:import mathn=int(input())nums = list(map(int,input().split()))ans = 0for i in nums: …… 题解列表 2024年05月06日 3 点赞 0 评论 1570 浏览 评分:10.0
超简洁代码,结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = int(input()) # 定义一个空二维列表,用以存放输入数据 my_str = [[]] * n # 输入指定n组数据 for i in range…… 题解列表 2024年05月04日 0 点赞 0 评论 693 浏览 评分:9.9
简单易懂,结构体之时间设计 摘要:解题思路:平年2月28天,闰年2月29天,平年闰年分开考虑注意事项: 无参考代码:y, m, d = map(int, input().split()) day_num = d year1 = […… 题解列表 2024年05月04日 2 点赞 0 评论 472 浏览 评分:9.9
简单方法,不涉及函数内容 摘要:解题思路:注意事项:参考代码:n = int(input()) m = 0 k = [None] * 3 my_list = [list(map(int, input().strip().spl…… 题解列表 2024年05月02日 0 点赞 0 评论 588 浏览 评分:9.9