题解列表
编写题解 1040: [编程入门]实数的打印
摘要:解题思路:注意事项:换行的操作不可忘参考代码:#include<stdio.h>int main(){ float n; int i,j; scanf("%f",&n); for(i=1;i<=3;i……
求长方形面积(C语言题解)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
int main() {
int A,B;
scanf("%d %d",&A,&B);
printf……
1042: [编程入门]电报加密 c语言
摘要:解题思路:注意事项:分开写出z的情况参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]={0}; int i……
1043: [编程入门]三个数字的排序(冒泡排序法)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]={0};//对数组进行清空 int i,j; int t; scanf……
编写题解 1544: 蓝桥杯算法提高VIP-特殊的质数肋骨
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
//判断素数这里需要检查的范围为,2~sqrt(n)
bool ju……
1044: [编程入门]三个字符串的排序c语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char c[100],d[100],e[100]; char ……
编写题解 2002: 计算数字个数 python
摘要:解题思路:无注意事项:使用了try参考代码:s = input()
flag = 0
for i in range(len(s)):
try:
if int(s[i])……
蓝桥杯历届试题-回文数字 python
摘要:解题思路:遍历,数字->字符串->列表,再与反转后判断注意事项:要注意不能直接用=,会修改原始列表数据!参考代码:num = int(input())
cnt = 0
for i in range……
1045: [编程入门]自定义函数之整数处理 python
摘要:解题思路:使用python的索引查找,一步到位注意事项:无参考代码:list1 = list(map(int,input().split()))
list1[list1.index(max(li……