蓝桥杯历届试题-翻硬币 (C++代码)(简单模拟) 摘要:模拟交换规则交换即可 ```cpp #include #include using namespace std; void change(char &a) { if(a=='*') …… 题解列表 2019年09月21日 0 点赞 0 评论 724 浏览 评分:0.0
蓝桥杯算法提高VIP-最小乘积(提高型) (C++描述,排两次序,部分最优->整体最优) 摘要:``` #include #include using namespace std; const int N=1010; bool cmp(int x,int y){ return x…… 题解列表 2019年09月21日 0 点赞 0 评论 1047 浏览 评分:9.9
蓝桥杯算法提高VIP-数字黑洞-题解(C++代码) 摘要:``` #include #include using namespace std; int val(int x,int flag){ int num[4],i=-1,s=0; whi…… 题解列表 2019年09月21日 0 点赞 0 评论 1082 浏览 评分:8.0
蓝桥杯基础练习VIP-分解质因数-题解(C++代码)容易理解 摘要:``` #include using namespace std; const int N=10000+10; int vis[N]; int main(){ int a,b,k=0; …… 题解列表 2019年09月20日 0 点赞 0 评论 1059 浏览 评分:6.0
[编程入门]完数的判断-题解(C++代码) 摘要: #include #include using namespace std; int main() { int n; vector vec; cin >> n; for…… 题解列表 2019年09月20日 0 点赞 0 评论 891 浏览 评分:0.0
二级C语言-阶乘数列-题解(C++代码) 摘要:原题链接 [[二级C语言]阶乘数列](https://www.dotcpp.com/oj/problem1064.html"[编程入门]阶乘求和") 解题思路: 先求阶乘再求和 注意事项: …… 题解列表 2019年09月20日 0 点赞 2 评论 988 浏览 评分:5.5
增添战力-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main() { int n,i,k,a[1001],n1,n2; cin>>n>…… 题解列表 2019年09月20日 0 点赞 0 评论 960 浏览 评分:9.9
蓝桥杯打水问题 水题 摘要:直接上代码 ```cpp #include #include using namespace std; int main() { int n,r,t[1001]; int …… 题解列表 2019年09月20日 0 点赞 0 评论 821 浏览 评分:0.0
蛇行矩阵 (C++代码) 摘要: 斜着看,“1”是第一行,“2,3”是第二行,“4,5,6”是第三行,“7,8,9,10”是第四行,“11,12,13,14,15”是第五行。。。 用二维数组a[n][n]来表示各个元素 …… 题解列表 2019年09月20日 0 点赞 0 评论 976 浏览 评分:9.9
坑人的水题,样例与题目描述不符 摘要:一个坑人的水题,打水时间是每个人的的等待时间和打水时间和,不是总共的打水时间和。 #include #include using namespace std; int main() { …… 题解列表 2019年09月20日 0 点赞 1 评论 891 浏览 评分:8.7