2025.7.21刷题记录 摘要:解题思路:pow(x,y) 求x的y次方注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ …… 题解列表 2025年07月21日 0 点赞 0 评论 33 浏览 评分:0.0
2025.7.21刷题记录 摘要:解题思路:等差数列第n项为 a1+(n-1)d注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ &nbs…… 题解列表 2025年07月21日 0 点赞 0 评论 31 浏览 评分:0.0
2025.7.21刷题记录 摘要:解题思路:实数不只是整数还有浮点数等等注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ i…… 题解列表 2025年07月21日 0 点赞 0 评论 32 浏览 评分:0.0
2025.7.21刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,x,y; scanf("%…… 题解列表 2025年07月21日 0 点赞 0 评论 35 浏览 评分:0.0
2025.7.21刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>const double pi = 3.14159;int main(){ //大象要喝的水量&n…… 题解列表 2025年07月21日 0 点赞 0 评论 31 浏览 评分:0.0
自然数的拆分(递归法) 摘要:解题思路:采用vector记录拆分路径,枚举可能拆分的数值,借助push_back(),pop_back()方法,动态记录结果,并输出注意事项:参考代码://自然数拆分#include <bit…… 题解列表 2025年07月20日 0 点赞 0 评论 38 浏览 评分:0.0
2025.7.19刷题记录 摘要:解题思路:通过while循环实现多组数据的输入 循环条件为 scanf("%d",&num)!=EOF 取出个位数十位数百位数就可以了注意事项:当scanf输入的数据和规定…… 题解列表 2025年07月19日 0 点赞 0 评论 42 浏览 评分:0.0
斐波纳契数列-迭代 摘要:#includeint main(){ int x; int k = 1,j=0,t,b; scanf("%d", &x); for (int i = 0; i < x; i+…… 题解列表 2025年07月18日 0 点赞 0 评论 45 浏览 评分:0.0
简单输入输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; for(int i=0;i…… 题解列表 2025年07月18日 0 点赞 0 评论 61 浏览 评分:0.0
2025.7.16刷题记录 摘要:解题思路:通过while循环进行死循环持续输入 循环条件为scanf("%lf",&d)!=EOF注意事项:EOF为一个特殊常量表示的是 平时用到的ctrl+z…… 题解列表 2025年07月16日 0 点赞 0 评论 152 浏览 评分:0.0