题解列表

筛选

C语言-分段函数

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x; scanf("%f",&x); printf("%.2f"……

数字的处理与判断

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n=0,i=0; int count=0; scanf("%d",&n); int a[10]={0};……

求偶数和的Python暴力解法

摘要:解题思路:注意事项:参考代码:a=int(input())list=input().split()for i in range (len(list)):    list[i]=int(list[i])……

1009: 数字的处理与判断(最易理解的方法)

摘要:解题思路:    解答该题可以运用strlen方法,这里介绍最简单最容易理解的方法,适合编程小白开发思维逻辑。scanf("%d",&x);y=x;z=x;这里先键盘输入x,并将x的值赋给y和z,后续……

1003: [编程入门]密码破译

摘要:解题思路:由China变成Glmre可知:原来的字母由它后面的第4个所代替。那么我们就可以声明五个变量,然后输入一下,把五个字符变量的ASCII码值+4,最后输出即可。(https://baike.b……