小O的溢出 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int book[1000]={0},max=0,h;void dfs(int a[],int n,int t){ int i; …… 题解列表 2018年05月16日 2 点赞 0 评论 1651 浏览 评分:0.0
新手发表课后习题8.2 (C语言代码) 摘要:解题思路:调用 math.h 函数库 使用求根公式注意事项:算delta时注意运算优先级、输出x1,x2时保留小数参考代码:#include<stdio.h>#include<math.h>void …… 题解列表 2018年05月16日 1 点赞 0 评论 1985 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:通过使用三目运算符来解题注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,…… 题解列表 2018年05月16日 0 点赞 0 评论 980 浏览 评分:0.0
不容易系列2 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 不容易系列2 { //满足条件的计数器 public static int count = 0; /** * 全排列算法 …… 题解列表 2018年05月16日 0 点赞 0 评论 1725 浏览 评分:0.0
去掉双斜杠注释 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include<cstring> #include<cstdio> #include<string> using nam…… 题解列表 2018年05月16日 0 点赞 0 评论 1983 浏览 评分:0.0
去掉空格 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { string st…… 题解列表 2018年05月16日 0 点赞 0 评论 2087 浏览 评分:0.0
发工资咯 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int a[6]={100,50,10,5,2,1}; int main() { …… 题解列表 2018年05月16日 0 点赞 0 评论 1220 浏览 评分:0.0
回文串 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; const int M=255+5; char…… 题解列表 2018年05月16日 0 点赞 0 评论 1871 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.3 (C语言代码) 摘要:#include<stdio.h> int get_array(int a[]); int exchange(int a[]); int printf_array(int a[]); int …… 题解列表 2018年05月17日 2 点赞 0 评论 2155 浏览 评分:0.0
校门外的树 (C++代码) 摘要:解题思路:将需要砍得数标记为1,统计为1的树的棵树,用总的减去时间:2018-05-17注意事项:总棵数为L+1参考代码:#include<iostream>#include<stdlib.h>#in…… 题解列表 2018年05月17日 0 点赞 0 评论 1068 浏览 评分:0.0