蓝桥杯算法训练VIP-阿尔法乘积 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h> using namespace std;int arr[20];int f(int n){in…… 题解列表 2019年03月18日 0 点赞 0 评论 694 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a[10]; int i,n,k; for (i = 0; …… 题解列表 2019年03月18日 0 点赞 0 评论 441 浏览 评分:0.0
P1006 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { char s[20],c; while(scanf("%s",s)==1) { int k=1; int …… 题解列表 2019年03月19日 0 点赞 0 评论 962 浏览 评分:0.0
蓝桥杯算法训练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 评论 817 浏览 评分: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 评论 1201 浏览 评分: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 评论 980 浏览 评分:0.0
蓝桥杯算法训练VIP-水仙花 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;bool isShui(int n){int sum=0;int…… 题解列表 2019年03月19日 0 点赞 0 评论 850 浏览 评分: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 评论 728 浏览 评分: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 评论 659 浏览 评分:0.0
蓝桥杯算法提高VIP-不同单词个数统计 (C语言代码) 摘要:解题思路:输入字符串后,将单词分裂出来,并给其一个标记,未出现的单词为0;然后嵌套循环对单词进行对比:运行到未对比过的单词时,单词数量便可以加一,然后对单词进行对比,相同则将单词的标记置为1,表示已出…… 题解列表 2019年03月19日 1 点赞 1 评论 329 浏览 评分:0.0