上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 【当前使用版本 1.4】 logcat是调试代码的很好工具,但是因为跳出的信息过多让人目不暇接,未必能让人找到想要的信息,所以我们必须从中过滤出想要的信息 【样例】这里我们要搜索 System.out.println("success"); 的输出 方法一:... 阅读全文
posted @ 2015-11-05 16:39 MrYu4 阅读(395) 评论(0) 推荐(0)
摘要: Problem Description A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6,... 阅读全文
posted @ 2015-01-03 20:01 MrYu4 阅读(57) 评论(0) 推荐(0)
摘要: 类似的题目有HDU1058 humble number(翻译下来都是丑陋的数字)。 Description Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequ... 阅读全文
posted @ 2015-01-03 17:56 MrYu4 阅读(73) 评论(0) 推荐(0)
摘要: Problem Description Given a number N, you are asked to count the number of integers between A and B inclusive which are relati... 阅读全文
posted @ 2015-01-01 13:59 MrYu4 阅读(70) 评论(0) 推荐(0)
摘要: Description 73 88 1 02 7 4 44 5 2 6 5(Figure 1) Figure 1 shows a number triangle. Write a program that ... 阅读全文
posted @ 2014-12-21 14:24 MrYu4 阅读(63) 评论(0) 推荐(0)
摘要: Problem Description There are n people standing in a line. Each of them has a unique id number. Now the Ragnarok is coming.... 阅读全文
posted @ 2014-12-20 17:13 MrYu4 阅读(45) 评论(0) 推荐(0)
摘要: 在大神的网站进不去的时候可以过来看看,另外道客巴巴有个排版比较好的文档,外观派可以去看看http://www.doc88.com/p-2728103209174.html 很早前写的那篇线段树专辑至今一直是本博客阅读点击量最大的一片文章,当时觉得挺自豪的,还... 阅读全文
posted @ 2014-07-26 23:29 MrYu4 阅读(120) 评论(0) 推荐(0)
摘要: 什么都不说了,贴代码,理解的时候画个树来理解理解就好了,这个也是典型的牺牲空间复杂度来缩短时间复杂度的典型算法。。。。 还是附点图上来吧。。。。。鼠标画的,见谅 #include#include#include#include#define maxn 2000... 阅读全文
posted @ 2014-07-16 16:42 MrYu4 阅读(56) 评论(0) 推荐(0)
摘要: DFS就是深度搜索算法。。。。感觉就像破案一样。。。。 #include#include#include#define maxn 10using namespace std;char map[maxn][maxn];int mat[maxn][maxn];in... 阅读全文
posted @ 2014-05-27 20:19 MrYu4 阅读(57) 评论(0) 推荐(0)
摘要: http://codeforces.com/contest/426/problem/B 题意大概就是对称有关,要注意的是,当行数为奇数的时候,答案就是行数本身 #include#include#include#include#define maxn 1005u... 阅读全文
posted @ 2014-04-28 08:16 MrYu4 阅读(40) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 下一页