蓝桥杯2013年第四届真题-核桃的数量 (Java代码) 摘要:解题思路: 一眼看去就是算法入门经典的–韩信点兵,求最小公倍数注意事项:参考代码:import java.util.*; public class Main { public st…… 题解列表 2019年01月17日 0 点赞 0 评论 934 浏览 评分:0.0
蓝桥杯算法提高VIP-删除数组中的0元素 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) { …… 题解列表 2019年01月17日 0 点赞 0 评论 716 浏览 评分:0.0
求总时间 (C语言代码) 摘要:#include <stdio.h>int main(){ double s1 = 30.0,s2 = 0.0; int n; scanf("%d", &n); for(int i =…… 题解列表 2019年01月17日 0 点赞 0 评论 699 浏览 评分:0.0
巨大的数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,n; int s = 1; scanf("%d", &n); for(int i …… 题解列表 2019年01月17日 0 点赞 1 评论 479 浏览 评分:0.0
【明明的随机数】 (Java代码) 摘要:解题思路:HashSet的不可重复,Arrays的排序输出参考代码:import java.util.Arrays; import java.util.HashSet; import java.u…… 题解列表 2019年01月17日 0 点赞 0 评论 929 浏览 评分:0.0
优质题解 最大数字 (C语言描述 简洁版)-------------------C语言—菜鸟级 摘要:解题思路: 通过贪心的方法。 根据题意, 就是删除k个数字 保持原序列顺序不变的情况 下,使得 剩下的数字组成的最大。我们一般比较一个数的大小,是怎么比的 ,比如 8999 9000 ,是不是先看最高…… 题解列表 2019年01月17日 43 点赞 0 评论 2191 浏览 评分:9.2
连号区间数 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class T1456 { public static int find(int []a) {…… 题解列表 2019年01月17日 0 点赞 0 评论 1157 浏览 评分:0.0
画三角形 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){int i,j=0,m,n;while(scanf("%d",&i)!=E…… 题解列表 2019年01月17日 2 点赞 2 评论 825 浏览 评分:6.0
蓝桥杯基础练习VIP-高精度加法 (C++代码)模拟手算 摘要:解题思路: 简单的模拟手算的过程。 不懂的看注释参考代码:#include<bits/stdc++.h> using namespace std; const int maxn=100…… 题解列表 2019年01月17日 0 点赞 0 评论 1253 浏览 评分:8.0
程序员爬楼梯 (C++代码)DFS 摘要:解题思路: 直接深度一下解决,爬楼梯的变种题目....难度没啥的。参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(fa…… 题解列表 2019年01月17日 1 点赞 0 评论 1176 浏览 评分:0.0