[编程入门]猴子吃桃的问题-题解(C语言代码) 摘要:s是桃子总数 day n:s=1 day n-1: s=(s+1)*2 以此类推,循环n天,n- - #include int main() { int…… 题解列表 2019年10月27日 0 点赞 0 评论 760 浏览 评分:0.0
[编程入门]迭代法求平方根-题解(C语言代码) 摘要: #include int main() { double a,t,x; scanf("%lf",&a); t=a; x=a/…… 题解列表 2019年10月27日 0 点赞 0 评论 525 浏览 评分:0.0
[编程入门]筛选N以内的素数-题解(C语言代码) 摘要: #include int main() { int n,i,j=1,s=0; scanf("%d",&n); for(i=2;i…… 题解列表 2019年10月27日 0 点赞 0 评论 599 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 摘要: #include int main() { int a,b,c; int t; scanf("%d%…… 题解列表 2019年10月27日 0 点赞 0 评论 572 浏览 评分:0.0
[编程入门]矩阵对角线求和-题解(C语言代码) 摘要:三阶矩阵,主对角线元素下标为ii,负对角线元素为i 2-i #include int main() { int a[3][3],i,j,s1,s2; …… 题解列表 2019年10月28日 0 点赞 0 评论 606 浏览 评分:0.0
[编程入门]结构体之成绩统计2-题解(C++代码) 如果有问题欢迎在评论区指出哦~! 摘要:```cpp #include #define N 100 struct student { char a[100]; char b[100]; int c1,c2,c3; …… 题解列表 2019年10月28日 0 点赞 1 评论 621 浏览 评分:0.0
[编程入门]链表合并-题解(C++代码)。如果有疑问的话,欢迎在下方留言哦~! 摘要:```cpp #include #include typedef struct student { int snum; int grade; struct student *nex…… 题解列表 2019年10月28日 0 点赞 0 评论 646 浏览 评分:0.0
小白可看!!!dp算法入门——数字三角形 摘要:安利一发自己的博客:我是蒟蒻,请轻喷。 [https://blog.csdn.net/weixin_43738764](https://blog.csdn.net/weixin_43738764) …… 题解列表 2019年10月28日 0 点赞 0 评论 746 浏览 评分:0.0
The 3n + 1 problem -题解(C语言代码) 摘要:我是看了评论才注意到i,j输出的问题。但是我还有一个问题,输入1和1000000就得不到答案了,还想请教各位大佬。 ```c #include int fun(int m) { …… 题解列表 2019年10月28日 0 点赞 0 评论 396 浏览 评分:0.0