编写题解 1196: 去掉空格 摘要:解题思路:注意事项:参考代码:while True: try: list1 = input().split() for i in list1: …… 题解列表 2023年02月15日 0 点赞 0 评论 584 浏览 评分:9.9
1029: [编程入门]自定义函数处理素数 摘要:##解题思路 首先,了解下素数 素数是指在大于1的自然数中,除了1和它本身以外不再有其他因数的自然数。(即只有1跟它本身能整除掉这个数) 据此,我们可以想到 **遍数法**(用循环从1开始…… 题解列表 2023年02月15日 0 点赞 0 评论 350 浏览 评分:9.9
2359: 信息学奥赛一本通T1448-电路维修 摘要:```cpp #include #include #include using namespace std; typedef int ll; char mp[1002][1002]; b…… 题解列表 2023年02月15日 0 点赞 0 评论 509 浏览 评分:9.9
2330: 信息学奥赛一本通T1178-成绩排序 摘要:```cpp #include #include using namespace std; typedef struct student { char m[20]; in…… 题解列表 2023年02月15日 0 点赞 0 评论 1003 浏览 评分:9.9
1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())a1,b1,c1=0,0,0for i in range(a+1): a1+=ifor j in ran…… 题解列表 2023年02月15日 0 点赞 0 评论 232 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:while True: n=int(input()) l=[1,2,3] if n==0: break else: f…… 题解列表 2023年02月15日 0 点赞 0 评论 518 浏览 评分:9.0
[编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:sum=0t=1num=int(input())for i in range(1,num+1): t=t*i sum+=tprint(sum)…… 题解列表 2023年02月15日 0 点赞 0 评论 261 浏览 评分:0.0
蓝桥杯2018年第九届真题-防御力 摘要:解题思路:注意事项:参考代码:n1,n2=map(int,input().split()) lsA=list(map(int,input().split())) copy_lsA=[_ for _…… 题解列表 2023年02月15日 0 点赞 0 评论 369 浏览 评分:9.9
日期排序 冒泡排序加结构体 摘要:解题思路:注意事项:输出时%02d补齐0,否则左侧只会输出2不会输出02参考代码:#include<stdio.h>struct date{ int y; int m; int d;…… 题解列表 2023年02月15日 1 点赞 0 评论 443 浏览 评分:0.0
2857: 加密的病历单 C++ 摘要:解题思路: 加密时: 1. 反转 2. 大小写转换 3. 循环左移3位 则解密时: &nbs 题解列表 2023年02月15日 0 点赞 0 评论 452 浏览 评分:9.9