2840: 向量点积计算 摘要:解题思路:注意事项:参考代码:n = int(input())la = list(map(int,input().split()))lb = list(map(int,input().split())…… 题解列表 2024年07月31日 0 点赞 0 评论 327 浏览 评分:0.0
2839:石头剪刀布 摘要:解题思路:注意事项:参考代码:n,a,b=map(int,input().strip().split())la = list(input().split())lb = list(input().spl…… 题解列表 2024年07月31日 0 点赞 0 评论 394 浏览 评分:9.9
1099: 校门外的树 摘要:解题思路:使用了列表计数器,来对用到的树进行标记注意事项:参考代码:l,m=map(int,input().strip().split())lis = [i for i in range(l+1)]f…… 题解列表 2024年07月31日 0 点赞 0 评论 375 浏览 评分:0.0
2837: 年龄与疾病 摘要:解题思路:注意事项:参考代码:n = int(input())l = list(input().split())a = b = c = d = 0for i in l: if 0 <= int(…… 题解列表 2024年07月31日 0 点赞 0 评论 390 浏览 评分:0.0
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:n = int(input())l = list(input().split())l = l[::-1]print(" ".join(l))…… 题解列表 2024年07月31日 0 点赞 0 评论 695 浏览 评分:0.0
2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:注意事项:参考代码:import mathdef is_qurt(n): flag = True for i in range(2,int(math.sqrt(n))+1): …… 题解列表 2024年07月31日 0 点赞 0 评论 531 浏览 评分:9.9
第n小的质数 摘要:解题思路:注意事项:参考代码:import mathn = int(input())flag = Truet = 0for i in range(2,100000): flag = True …… 题解列表 2024年07月31日 0 点赞 0 评论 317 浏览 评分:0.0
你跟我说这是入门题? 摘要:解题思路:还是我文心一言牛逼霍,直接复制粘贴就对了注意事项:参考代码:def check_matrix(matrix): n = len(matrix) row_counts = …… 题解列表 2024年07月31日 0 点赞 0 评论 440 浏览 评分:6.0
独立完成啦兄弟们 摘要:解题思路:除了b1[1:m-1]问文心一言外其他自己写的注意事项:参考代码:m,n=map(int,input().split())b1=[]for i in range(m): l1=list…… 题解列表 2024年07月31日 1 点赞 0 评论 348 浏览 评分:0.0
感谢题解的启发,想了半天了都 摘要:解题思路:注意事项:参考代码:n,i,j=map(int,input().split())for q in range(1,n+1): print(f"({i},{q})",end=" ")pr…… 题解列表 2024年07月31日 0 点赞 0 评论 559 浏览 评分:0.0