采药 (C++代码) 摘要:#include<bits/stdc++.h> using namespace std; typedef long long ll; const ll MAX=987654321; ll n,…… 题解列表 2018年11月13日 2 点赞 0 评论 572 浏览 评分:0.0
开心的金明 (C++代码) 摘要:#include<bits/stdc++.h> using namespace std; typedef long long ll; ll n,m; ll dp[100000],v[10000…… 题解列表 2018年11月13日 0 点赞 0 评论 875 浏览 评分:0.0
蓝桥杯算法提高VIP-排列式 (C++代码) 摘要:解题思路:先分析问题,不要盲目暴力。如果直接搜索,使用先求全排列,然后逐位选取数字,再组合的方法,复杂度在P(9,4)*P(5,2)*3! = 362880 > 3*10^5上下,可能在1s的时间里是…… 题解列表 2018年11月13日 0 点赞 0 评论 997 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;struct date{ int year; int month; int day; int…… 题解列表 2018年11月13日 0 点赞 0 评论 753 浏览 评分:0.0
蓝桥杯算法提高VIP-寻找三位数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int a[10],book[10]; a相当于盒子呀,b就来标记这个数字是否被用过void dfs(int step){ in…… 题解列表 2018年11月13日 0 点赞 0 评论 837 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>typedef struct OUTPUT{double root_1;double vir_root_…… 题解列表 2018年11月13日 0 点赞 0 评论 1059 浏览 评分:0.0
求两个集合交集 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef long long ll; const ll MAX=98…… 题解列表 2018年11月13日 1 点赞 0 评论 1331 浏览 评分:0.0
蓝桥杯算法提高VIP-拿糖果 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef long long ll; const ll MAX=98…… 题解列表 2018年11月13日 2 点赞 1 评论 1177 浏览 评分:6.0
蓝桥杯算法提高VIP-拿糖果 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef long long ll; ll n,m; int …… 题解列表 2018年11月13日 1 点赞 0 评论 701 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (void){ char c1,c2,c3,c4,c5; scanf("%c%c%c%c%c",&c1,…… 题解列表 2018年11月13日 0 点赞 0 评论 587 浏览 评分:0.0