题解列表

筛选

2^k进制数:组合数

摘要:解题思路:组合数注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; long long c(int n, int ……

质因数分解

摘要:解题思路:注意事项:参考代码n=int(input())f=2while f*f<=n:    if n %f==0:        print(n//f)    f+=1……

Java简单的a+b

摘要:Scanner sc=new Scanner(System.in); while(sc.hasNext()){ int a=sc.nextInt(); int b=sc.nextInt(); ……

Cylinder最大圆柱体积

摘要:解题思路:pi的精度11位注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; const double pi = ……

1114: C语言考试练习题_排列(dfs)

摘要:解题思路:dfs全排列注意事项:题目的输出顺序, 依次排除第 4 - 1 个数字参考代码:#include<iostream> #include<cmath> using namespace st……

牢第,包你懂的

摘要:对数据类型不了解的看这里:[C语言 中的 数据类型 超详解](https://blog.csdn.net/weixin_44982036/article/details/108773054 "C语言 ……

C语言·求解真分式

摘要:解题思路:判断取余是否等于1,3,7,9;若是则是真分式。注意事项:参考代码:#include<stdio.h>int main(){ int i; for(i=0;i<40;i++) { if(i……

IP地址-python-正则表达式

摘要:解题思路:正则表达式区间0-9             \d    10-99        [1-9]\d    100-199    1\d{2}    200-249    2[0-4]\d  ……