1061: 二级C语言-计负均正 python 摘要:解题思路:注意输入会有换行,这种写法更灵活一些注意事项:参考代码:list1 = list(map(int,input().split())) while len(list1)<20: l…… 题解列表 2021年04月25日 0 点赞 1 评论 717 浏览 评分:9.9
1046: [编程入门]自定义函数之数字后移 摘要:解题思路:用了一个辅助列表注意事项:无参考代码:num = int(input()) list1 = list(map(int,input().split())) list2 = list1.co…… 题解列表 2021年04月25日 0 点赞 0 评论 187 浏览 评分:0.0
1045: [编程入门]自定义函数之整数处理 python 摘要:解题思路:使用python的索引查找,一步到位注意事项:无参考代码:list1 = list(map(int,input().split())) list1[list1.index(max(li…… 题解列表 2021年04月25日 0 点赞 1 评论 274 浏览 评分:6.0
蓝桥杯历届试题-回文数字 python 摘要:解题思路:遍历,数字->字符串->列表,再与反转后判断注意事项:要注意不能直接用=,会修改原始列表数据!参考代码:num = int(input()) cnt = 0 for i in range…… 题解列表 2021年04月24日 0 点赞 0 评论 199 浏览 评分:0.0
编写题解 2002: 计算数字个数 python 摘要:解题思路:无注意事项:使用了try参考代码:s = input() flag = 0 for i in range(len(s)): try: if int(s[i])…… 题解列表 2021年04月24日 0 点赞 0 评论 233 浏览 评分:0.0
1044: [编程入门]三个字符串的排序c语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char c[100],d[100],e[100]; char …… 题解列表 2021年04月24日 0 点赞 0 评论 360 浏览 评分:0.0
编写题解 1544: 蓝桥杯算法提高VIP-特殊的质数肋骨 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; //判断素数这里需要检查的范围为,2~sqrt(n) bool ju…… 题解列表 2021年04月24日 0 点赞 1 评论 376 浏览 评分:9.9
1043: [编程入门]三个数字的排序(冒泡排序法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]={0};//对数组进行清空 int i,j; int t; scanf…… 题解列表 2021年04月24日 0 点赞 0 评论 313 浏览 评分:0.0
1042: [编程入门]电报加密 c语言 摘要:解题思路:注意事项:分开写出z的情况参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]={0}; int i…… 题解列表 2021年04月24日 0 点赞 0 评论 380 浏览 评分:0.0
求长方形面积(C语言题解) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int A,B; scanf("%d %d",&A,&B); printf…… 题解列表 2021年04月24日 0 点赞 0 评论 1332 浏览 评分:7.7