题解列表

筛选

新手版,简单易懂

摘要:解题思路:循环赋值注意事项:转换类型参考代码:        Scanner scanner = new Scanner(System.in);        int shuru = scanner.……

编写题解 1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split(" ")))b = int(input())b  = b+30count = 0for i in range……

scanf和gets的混合使用

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    char a[1001];    int n;    scanf("%d",&n);//scanf结束回车……

1332: 津津的储蓄计划(python)

摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True:     try:         n = int(input(……

2815: 求特殊自然数(python)

摘要:解题思路:注意事项:参考代码:for a in range(1,7):     for b in range(0,7):         for c in range(1,7):        ……

买图书的小明

摘要:解题思路:注意事项:参考代码:#includeint main(){ double n,m,s; scanf("%lf %lf",&n,&m); s=n-0.8*m; if(n==10&&m==1) ……

结构体之成绩记录

摘要:解题思路:用结构体数组来解决问题注意事项:见代码参考代码:#include <stdio.h>typedef struct student{ char id[20]; char name[20]; i……

2819: 数字反转(python)

摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0:     print("-",end = "")     n = -n n = str(n)[::-1] ……