去掉双斜杠注释 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include<cstring> #include<cstdio> #include<string> using nam…… 题解列表 2018年05月16日 0 点赞 0 评论 1304 浏览 评分:0.0
【排队买票】 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 排队买票 { public static int count = 0; public static void qpl(char[] ch…… 题解列表 2018年05月16日 1 点赞 0 评论 1898 浏览 评分:2.0
不容易系列2 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 不容易系列2 { //满足条件的计数器 public static int count = 0; /** * 全排列算法 …… 题解列表 2018年05月16日 0 点赞 0 评论 1230 浏览 评分: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 评论 673 浏览 评分:0.0
半数集问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; int a[1005]; int f(int …… 题解列表 2018年05月16日 0 点赞 0 评论 1682 浏览 评分:9.9
新手发表课后习题8.2 (C语言代码) 摘要:解题思路:调用 math.h 函数库 使用求根公式注意事项:算delta时注意运算优先级、输出x1,x2时保留小数参考代码:#include<stdio.h>#include<math.h>void …… 题解列表 2018年05月16日 1 点赞 0 评论 1511 浏览 评分: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 评论 1280 浏览 评分:0.0
十->二进制转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int a[20]={0}; int main() { int n; wh…… 题解列表 2018年05月16日 0 点赞 0 评论 1362 浏览 评分:0.0
蓝桥杯算法提高VIP-促销购物 (C语言代码)--------------C语言——菜鸟级 摘要:解题思路: 动态规划 完全背包 变形 注意事项:参考代码:#include<stdio.h> #include<string.h> long int bj(long int a,long in…… 题解列表 2018年05月16日 5 点赞 0 评论 2204 浏览 评分:9.9
【数组的距离】 (C语言代码)------------------C语言——菜鸟级 摘要:解题思路:将先第一数组储存起来 输入第二数组时 每输入一位输入 去与第一数组元素遍历找到 当前最优数组距离(优化:因为数组元素为单调递增所以距离的结果也为单调 如果当前处理与第一数组的元素大于前面处理…… 题解列表 2018年05月16日 5 点赞 0 评论 1768 浏览 评分:0.0