蓝桥杯算法提高VIP-促销购物 (C语言代码)--------------C语言——菜鸟级 摘要:解题思路: 动态规划 完全背包 变形 注意事项:参考代码:#include<stdio.h> #include<string.h> long int bj(long int a,long in…… 题解列表 2018年05月16日 5 点赞 0 评论 2381 浏览 评分:9.9
十->二进制转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int a[20]={0}; int main() { int n; wh…… 题解列表 2018年05月16日 0 点赞 0 评论 1572 浏览 评分: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 评论 1381 浏览 评分:0.0
新手发表课后习题8.2 (C语言代码) 摘要:解题思路:调用 math.h 函数库 使用求根公式注意事项:算delta时注意运算优先级、输出x1,x2时保留小数参考代码:#include<stdio.h>#include<math.h>void …… 题解列表 2018年05月16日 1 点赞 0 评论 1693 浏览 评分:0.0
半数集问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; int a[1005]; int f(int …… 题解列表 2018年05月16日 0 点赞 0 评论 1913 浏览 评分:9.9
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 评论 759 浏览 评分:0.0
不容易系列2 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 不容易系列2 { //满足条件的计数器 public static int count = 0; /** * 全排列算法 …… 题解列表 2018年05月16日 0 点赞 0 评论 1378 浏览 评分:0.0
【排队买票】 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 排队买票 { public static int count = 0; public static void qpl(char[] ch…… 题解列表 2018年05月16日 1 点赞 0 评论 2138 浏览 评分:2.0
去掉双斜杠注释 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include<cstring> #include<cstdio> #include<string> using nam…… 题解列表 2018年05月16日 0 点赞 0 评论 1479 浏览 评分:0.0
去掉空格 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { string st…… 题解列表 2018年05月16日 0 点赞 0 评论 1757 浏览 评分:0.0