蓝桥杯算法训练VIP-乘积最大 (C语言代码) 摘要:解题思路:用dp列举所有可能注意事项:参考代码:#include<stdio.h>#include<string.h>int a[7];int number[41];int book[7];int n…… 题解列表 2019年03月19日 0 点赞 0 评论 914 浏览 评分:0.0
矩阵最大值 (C++/C代码)又水了一题 摘要:<浪费空间的做法,不过还是可以A的>#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.ti…… 题解列表 2019年03月19日 0 点赞 0 评论 1548 浏览 评分:0.0
矩阵最大值 (C++代码)又水了一题 摘要:<浪费空间的做法,不过还是可以A的>#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),cout.ti…… 题解列表 2019年03月19日 0 点赞 0 评论 1317 浏览 评分:0.0
蓝桥杯算法训练VIP-水仙花 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;bool isShui(int n){int sum=0;int…… 题解列表 2019年03月19日 0 点赞 0 评论 1081 浏览 评分:0.0
蓝桥杯算法训练VIP-特殊的数字四十 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool isShi(int n){int sum=0;while(n){sum=sum+n%…… 题解列表 2019年03月19日 0 点赞 0 评论 879 浏览 评分:0.0
蓝桥杯算法提高VIP-因式分解 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int i=2; cin>>n; while(n>1){…… 题解列表 2019年03月19日 0 点赞 0 评论 829 浏览 评分:0.0
蓝桥杯算法提高VIP-不同单词个数统计 (C语言代码) 摘要:解题思路:输入字符串后,将单词分裂出来,并给其一个标记,未出现的单词为0;然后嵌套循环对单词进行对比:运行到未对比过的单词时,单词数量便可以加一,然后对单词进行对比,相同则将单词的标记置为1,表示已出…… 题解列表 2019年03月19日 1 点赞 1 评论 401 浏览 评分:0.0
蓝桥杯算法提高VIP-逆序排列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string>#include<algorithm>#include<cstring>#include<iostrea…… 题解列表 2019年03月19日 0 点赞 0 评论 628 浏览 评分:0.0
蓝桥杯2017年第八届真题-包子凑数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <iostream> #define N 20000 using namespace std; i…… 题解列表 2019年03月19日 0 点赞 0 评论 963 浏览 评分:0.0
排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <iostream> #include <algorithm> using namespace std; c…… 题解列表 2019年03月19日 0 点赞 0 评论 823 浏览 评分:0.0