题解列表

筛选

[递归]阶乘求和

摘要:解题思路:递归注意事项:参考代码:def fact(n):     if n == 0 or n == 1:         return 1     else:        

[字符串复制]Sn的公式求和

摘要:解题思路:注意事项:参考代码:n = int(input()) Sum = 0 for i in range(1, n + 1):     Sum += int('2' * i)……

c语言链表的排序

摘要:```c #include #include typedef struct _student { int num; int score; }student; typedef stru……

简单易懂的解题思路

摘要:解题思路:利用while循环和for循环的小白解题思路。注意事项:参考代码:#include<stdio.h>int main(){ int n, i; scanf("%d", &n);int a[n……

2776: A*B问题

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b;    cin>>a>>b;    ……

2765: 计算分数的浮点数值

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double a,b;    cin>>a>>b; ……

题解 1669: 求圆的面积

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include <iomanip>int main(){    double r;    c……