2^k进制数:组合数 摘要:解题思路:组合数注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; long long c(int n, int …… 题解列表 2024年08月09日 0 点赞 0 评论 296 浏览 评分:0.0
质因数分解 摘要:解题思路:注意事项:参考代码n=int(input())f=2while f*f<=n: if n %f==0: print(n//f) f+=1…… 题解列表 2024年08月10日 0 点赞 0 评论 233 浏览 评分:0.0
Java简单的a+b 摘要:Scanner sc=new Scanner(System.in); while(sc.hasNext()){ int a=sc.nextInt(); int b=sc.nextInt(); …… 题解列表 2024年08月10日 0 点赞 0 评论 413 浏览 评分:0.0
Cylinder最大圆柱体积 摘要:解题思路:pi的精度11位注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; const double pi = …… 题解列表 2024年08月10日 0 点赞 0 评论 430 浏览 评分:0.0
1114: C语言考试练习题_排列(dfs) 摘要:解题思路:dfs全排列注意事项:题目的输出顺序, 依次排除第 4 - 1 个数字参考代码:#include<iostream> #include<cmath> using namespace st…… 题解列表 2024年08月10日 0 点赞 0 评论 328 浏览 评分:0.0
牢第,包你懂的 摘要:对数据类型不了解的看这里:[C语言 中的 数据类型 超详解](https://blog.csdn.net/weixin_44982036/article/details/108773054 "C语言 …… 题解列表 2024年08月10日 0 点赞 0 评论 214 浏览 评分:0.0
IP判断(sscanf格式化读入) 摘要:解题思路:sscanf注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int main() { cha…… 题解列表 2024年08月10日 0 点赞 0 评论 222 浏览 评分:0.0
C语言·求解真分式 摘要:解题思路:判断取余是否等于1,3,7,9;若是则是真分式。注意事项:参考代码:#include<stdio.h>int main(){ int i; for(i=0;i<40;i++) { if(i…… 题解列表 2024年08月10日 0 点赞 0 评论 184 浏览 评分:0.0
IP地址-python-正则表达式 摘要:解题思路:正则表达式区间0-9 \d 10-99 [1-9]\d 100-199 1\d{2} 200-249 2[0-4]\d …… 题解列表 2024年08月11日 0 点赞 0 评论 307 浏览 评分:0.0
1117: K-进制数-递归求解 摘要:解题思路: 认真看题,找规律,可以发现该题目可以通过递归求解:n=1时,[1-9]n=2时,9*[0-9]n=3时,9*{n-1的}+9*{n-2的}依次类推……参考代码:n = int(inp…… 题解列表 2024年08月11日 0 点赞 0 评论 359 浏览 评分:0.0