蓝桥杯算法提高VIP-理财计划 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main( int argc, char **argv ){ int k, n; float p; s…… 题解列表 2018年11月11日 0 点赞 0 评论 650 浏览 评分:0.0
C语言训练-尼科彻斯定理 (C++代码)附带公式推导,题目思路 摘要:解题思路: 拿到题目后,我们先打表观察规律:1的立方=12的立方=3+53的立方=7+9+114的立方=13+15+17+195的立方=21+23+25+27+29……找到两个规律,设输…… 题解列表 2018年11月11日 3 点赞 0 评论 1944 浏览 评分:9.9
蓝桥杯历届试题-蚂蚁感冒 (C++代码) 摘要:解题思路:写了蛮长时间了,脑子转不过来了。。两种特殊情况:同方向前面的都是同自己的一个方向,如4,5,6一般情况有两种,相碰到了两个就反向: 假如一开始是这样的:4 和 -5,用箭头表示…… 题解列表 2018年11月10日 1 点赞 0 评论 1549 浏览 评分:9.3
C语言训练-舍罕王的失算 (C语言代码)stdio.h 和cstdio是有区别的 摘要:解题思路: cstdio 跑不出题目的答案的注意事项:参考代码:#include <stdio.h> #include <cstdlib> #include <iostre…… 题解列表 2018年11月10日 2 点赞 2 评论 1082 浏览 评分:6.0
蓝桥杯算法提高VIP-素数求和 (C语言代码)线性筛选 摘要:解题思路:注意事项:参考代码:#include <stdlib.h>#include <stdio.h>#include <string.h>#include <math.h>#define maxm…… 题解列表 2018年11月10日 0 点赞 0 评论 900 浏览 评分:0.0
C语言训练-自守数问题 (C语言代码)两个空格 摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <cstdlib> #include <iostream> #include <cmath> #includ…… 题解列表 2018年11月10日 1 点赞 0 评论 579 浏览 评分:0.0
蓝桥杯算法提高VIP-因式分解 (C++代码) 摘要:#include<bits/stdc++.h> using namespace std; int zhi(int a) { int y; if(a<2) return 0; y=(…… 题解列表 2018年11月10日 2 点赞 0 评论 775 浏览 评分:0.0
纪念品分组 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; import java.math.*; public class Main{ public static void mai…… 题解列表 2018年11月10日 0 点赞 0 评论 533 浏览 评分:0.0
【偶数求和】 (更简便的理解) 摘要:解题思路: 我看了很多大佬的解题方式都很复杂,对于这题有更简单(更方便理解)的方法。 每个数相差2,正好每个数是2*i,由于每m个数求一次平均值,所以每相加m个数就求一次平均值并把sum置…… 题解列表 2018年11月10日 1 点赞 0 评论 969 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>char a[1000];char trans(char …… 题解列表 2018年11月10日 0 点赞 0 评论 675 浏览 评分:0.0