题目如下:
Stamps
The government of Nova Mareterrania requires that various legaldocuments have stamps attached to them so that the government canderive revenue from them. In ter...
分类:
其他好文 时间:
2014-07-16 17:23:55
阅读次数:
199
题目如下:
How Big Is It?
Ian's going to California, and he has to pack his things, including hiscollection of circles. Given a set of circles, your program mustfind the smallest r...
分类:
其他好文 时间:
2014-07-16 17:17:02
阅读次数:
259
题目如下:
Mapping the Swaps
Sorting an array can be done by swapping certain pairs of adjacent entriesin the array. This is the fundamental technique used in the well-knownbubbl...
分类:
移动开发 时间:
2014-07-16 17:08:59
阅读次数:
252
处理字符串的过程中,难免会遇到字符匹配的问题。常用的字符匹配方法1. 朴素模式匹配算法(Brute-Force算法) 求子串位置的定位函数Index( S, T, pos). 模式匹配:子串的定位操作通常称作串的模式匹配。 目标串:主串S。 模式串:子串T。 匹配成功:若存在T的每个字符依次...
分类:
其他好文 时间:
2014-07-14 21:03:19
阅读次数:
286
在微信接口开发中,许多服务的使用都离不开Access Token,Access Token相当于打开这些服务的钥匙,正常情况下会在7200秒内失效,重复获取将导致上次获取的Token失效,本文将首先介绍如何获取Access Token,再介绍如何通过Access Token来在微信内添加自定义菜单(...
分类:
微信 时间:
2014-07-14 15:30:10
阅读次数:
804
Layout 是 D3 中 “制作常见图形的函数”,用 Layout 可以轻松地对输入数据进行转换,使得它能容易地适应可视化图形使用的需要。...
分类:
Web程序 时间:
2014-07-13 16:30:01
阅读次数:
294
很常见的想法了= =#include #include #include using namespace std;const int N=400;const int MAXE=200000;const int inf=10&&d[u]+edge[j].w=0) printf("Oh, I lose ...
分类:
其他好文 时间:
2014-07-12 14:33:52
阅读次数:
167
When I try openingEclipse, a pop-up dialog states:Failed to load the JNI shared library "C:/JDK/bin/client/jvm.dll"`.Following this, Eclipse force clo...
分类:
系统相关 时间:
2014-07-11 11:45:13
阅读次数:
238
这次聊聊「RFC」。有很多人经常听说「RFC」的吧,上次介绍的NTP是由「RFC1305规定的」,HTTP是由「RFC2616规定的」。RFC是「Request For Comments」的简称,由 Internet Engineering Task Force 公开的,以指定互联网技术标准「为目标...
分类:
系统相关 时间:
2014-07-08 22:50:44
阅读次数:
291
如何调试分析Android中发生的tombstoneAndroid中较容易出现以下三类问题:Force close / ANR / Tombstone前两者主要是查看当前的进程或者系统框架层的状态和堆栈就基本可以分析出来,本文主要讨论一下tombstone的情况。tombstone一般是由Dalvi...
分类:
移动开发 时间:
2014-07-08 11:37:01
阅读次数:
195