蓝桥杯基础练习VIP-高精度加法 (C++代码) 摘要:解题思路: 逆序字符串转换 → 相加 → 进位 → 反向输出数组。#include "stdio.h" #include "string.h" const int …… 题解列表 2018年08月02日 1 点赞 0 评论 904 浏览 评分:0.0
蓝桥杯算法提高VIP-输出正反三角形 (C++代码) 摘要:解题思路:跟着题目的意思来写就好了,注意格式注意事项:重点重点前面还要输出n+m-1个空格,题目没有说明这是个坑参考代码:#include <iostream> using namespace st…… 题解列表 2018年08月02日 3 点赞 0 评论 831 浏览 评分:0.0
蓝桥杯算法提高VIP-分苹果 (C++代码)(线段树 lazy 练习) 摘要:解题思路: ( 反正没人看,注释不想写,写花了更难看,跑得挺慢的参考代码:#include<bits/stdc++.h> using namespace std; const i…… 题解列表 2018年08月02日 0 点赞 0 评论 1240 浏览 评分:0.0
C语言训练-求PI* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double i; int j; double pi=1; for(i=3,…… 题解列表 2018年08月02日 2 点赞 0 评论 1314 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:先求最大公约数,再求最小公倍数注意事项:一开始是没有注意到最大公约数和最小公倍数之间的关系的参考代码:#include<stdio.h>int main(){ int da,xiao,…… 题解列表 2018年08月02日 0 点赞 0 评论 713 浏览 评分:0.0
蓝桥杯算法提高VIP-高精度乘法 (C++代码) 摘要:#include "iostream" #include "cstdio" #include "cstring" #include "algorithm" #include "iomanip"…… 题解列表 2018年09月15日 5 点赞 0 评论 1366 浏览 评分:0.0
蓝桥杯算法提高VIP-大数加法 (C++代码) (再写一种-.-) 摘要:#include "iostream" #include "cstdio" #include "algorithm" #include "cstring" using namespace st…… 题解列表 2018年08月02日 1 点赞 0 评论 1541 浏览 评分:0.0
换硬币 (C++代码)本质是斐波那契数列 摘要://换硬币 #include <iostream> using namespace std; inline int fibo(int n){ if(n==0) return 1; if(…… 题解列表 2018年08月02日 0 点赞 0 评论 2654 浏览 评分:0.0
【明明的随机数】 (C语言代码) 方法简单,容易懂 摘要:解题思路:1.先对一组数进行排序这样相等的数会相邻,例如对样例进行排序, 15 20 20 32 40 40 67 89 300 400 2. …… 题解列表 2018年08月02日 0 点赞 0 评论 1420 浏览 评分:0.0
明明的随机数 (C语言代码) 摘要:解题思路:1.先对一组数进行排序这样相等的数会相邻,例如对样例进行排序, 15 20 20 32 40 40 67 89 300 400 2. …… 题解列表 2018年08月02日 0 点赞 0 评论 1050 浏览 评分:0.0