C语言程序设计教程(第三版)课后习题11.8 (Java代码) 摘要:解题思路:起泡法排序的变相应用注意事项:只需将两条链发生一致的改变即可参考代码:import java.util.Scanner; public class 一〇五二 { public stat…… 题解列表 2018年05月16日 0 点赞 0 评论 1659 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (Java代码) 摘要:解题思路:方法体判断素数与否,采用Boolean型判断方便注意事项:参考代码:import java.util.Scanner; public class 一〇五四 { public stati…… 题解列表 2018年05月16日 0 点赞 0 评论 1322 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10],b[10]; int c,d,i,f=0,e=…… 题解列表 2018年05月16日 8 点赞 0 评论 1635 浏览 评分:0.0
十->二进制转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int a[20]={0}; int main() { int n; wh…… 题解列表 2018年05月16日 0 点赞 0 评论 1710 浏览 评分:0.0
小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 评论 1443 浏览 评分:0.0
新手发表课后习题8.2 (C语言代码) 摘要:解题思路:调用 math.h 函数库 使用求根公式注意事项:算delta时注意运算优先级、输出x1,x2时保留小数参考代码:#include<stdio.h>#include<math.h>void …… 题解列表 2018年05月16日 1 点赞 0 评论 1764 浏览 评分: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 评论 818 浏览 评分:0.0
不容易系列2 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 不容易系列2 { //满足条件的计数器 public static int count = 0; /** * 全排列算法 …… 题解列表 2018年05月16日 0 点赞 0 评论 1489 浏览 评分:0.0
去掉双斜杠注释 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include<cstring> #include<cstdio> #include<string> using nam…… 题解列表 2018年05月16日 0 点赞 0 评论 1623 浏览 评分:0.0
去掉空格 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { string st…… 题解列表 2018年05月16日 0 点赞 0 评论 1852 浏览 评分:0.0