题解列表

筛选

大数阶乘用数组进行计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>               int weishu=1,a[100000]={0};               void PowerN……

[编程入门]猴子吃桃的问题

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

1016——————水仙花数判断

摘要:充分理解概念:**水仙花数"是指一个三位数 其各位数字立方和等于该本身** for i in range(100,1000): #三位数 if (int(str(i……

Java 统计字符

摘要:解题思路:注意事项:参考代码:public static void main(String[] args) {    Scanner sc = new Scanner(System.in);    S……

编写题解 1229: 最小公倍数

摘要:解题思路:递归,求最大公约数(greatest common divisor,gcd),再求最小公倍数(least common multiple,lcm)。注意事项:参考代码:#include<io……