题解列表

筛选

2779: 输出绝对值

摘要:解题思路: 这道题考察的是条件语句的应用注意事项:参考代码:a = float(input())if a >= 0:    print('{:.2f}'.format(a))  #第一……

2786: 判断能否被3、5、7整除

摘要:解题思路:不用循环,只用条件判断语句注意事项:参考代码:a = int(input())if a % 3 == 0 and a % 5 == 0 and a % 7 == 0:    print(&#……

奇淫巧计-C语言

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

编写题解 1954: 话费计算

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

与指定数字相同的数的个数

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

2750: 字符菱形

摘要:解题思路:   直接输出注意事项:参考代码:                #include<iostream>using namespace std;int main(){    char c;  ……

ikun崩溃代码

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

三个整数中找最大数

摘要:解题思路:  新手,适合初学者。思路很简单就三个中任挑一个比其他两个大即可 认为要懂||(或) &&(都、和)  ?(非) 的知识注意事项:if语句判断时只有一条语句时可不用{ },我是为方便记忆, ……

数字的处理与判断

摘要:```python while True: try: a = list(map(int, input())) b = a[-1: -7: -1] print(len(a)) ……