题解列表
编写题解 2847: 找第一个只出现一次的字符
摘要:解题思路:注意事项:参考代码:a = input()Is = Falsefor i in a: if a.count(i) == 1: print(i) Is = T……
编写题解 2835: 计算书费
摘要:解题思路:注意事项:参考代码:price = (28.9, 32.7, 45.6, 78, 35, 86.2, 27.8, 43, 56, 65)quantity = tuple(map(int, i……
完数的判断(不用数组,for循环即可)
摘要:解题思路:先判断要求范围内的完数。在判断的过程中,如果是完数,按格式打印一下这个数,然后找到该完数的每一个因子(除去本身)并按格式打印每一个因子;如果不是完数,就继续判断下一个数。注意事项:1.按格式……
C语言思路简单,易懂!!! 理解万岁
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define len sizeof(Stack)typedef struct s { i……
C语言考试练习题_一元二次方程
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<math.h>
int main()
{
int a,b,c;
scanf("%d%d%d",&a,&……
C语言思路简单,易懂!!! 理解万岁
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define len sizeof(Queue)typedef struct s{ in……
1738-排序 冒泡排序 多输入控制
摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { Scan……