C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> #include<math.h> int main() { float x0=1.0,x1,a; scanf("%f",&a)…… 题解列表 2018年09月26日 0 点赞 0 评论 1083 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; int sum=1; scanf("%d",&n); for(i=1;i<n;i++) su…… 题解列表 2018年09月26日 0 点赞 0 评论 853 浏览 评分:0.0
优质题解 K-进制数 (C语言代码) 仿深度优先搜索 摘要:参考代码:#include<stdio.h> #include<math.h> int N,K,sum; void dfs(int x,int step); int main() { …… 题解列表 2018年09月26日 12 点赞 15 评论 5138 浏览 评分:9.1
可AC。。。。。。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int total(int n){ if(n==1) return 1; else if(n==0) …… 题解列表 2018年09月26日 0 点赞 0 评论 982 浏览 评分:0.0
【偶数求和】 (C语言代码) 摘要:解题思路:用类似于头指针的元素记录开始的位置,用y记录剩余元素的大小。每移动一次头标志就向后移动并且剩余元素减少。若是剩余元素不足宽度m,则直接将剩余的元素求和注意事项:防止数组越界,以及各式问题参考…… 题解列表 2018年09月26日 0 点赞 0 评论 1869 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int x,y;scanf("%d",&x);if(x<1) y=x;else if(1<=x&&x<10) y=…… 题解列表 2018年09月26日 0 点赞 0 评论 1009 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:先把整体框架写好,之后把括号里的语句算法补上。注意事项:注意题目中的多组字样,还有符号字母大小写问题。参考代码:无…… 题解列表 2018年09月25日 0 点赞 0 评论 1363 浏览 评分:0.0
三位数反转 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a,b,c,n; …… 题解列表 2018年09月25日 5 点赞 0 评论 1809 浏览 评分:0.0
三位数反转 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a,b,c,n; …… 题解列表 2018年09月25日 5 点赞 0 评论 2084 浏览 评分:7.3
最简代码! 题解1864:数日子 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n=200; cout<<n; return…… 题解列表 2018年09月25日 3 点赞 0 评论 1008 浏览 评分:2.0