Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:
其他好文 时间:
2014-09-06 23:43:44
阅读次数:
209
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4470
Go is a proverbial board game originated in China. It has been proved to be the most diffic...
分类:
其他好文 时间:
2014-09-06 21:21:53
阅读次数:
457
题目链接题意 : 给你一个多边形,问你里边能够盛的下的最大的圆的半径是多少。思路 :先二分半径r,半平面交向内推进r。模板题 1 #include 2 #include 3 #include 4 #include 5 const double eps = 1e-10 ; 6 ...
分类:
其他好文 时间:
2014-09-06 20:00:03
阅读次数:
279
NumberCircleProgressBar是一个基于Android的自定义圆形进度条,提供两种模式(rotate模式和rising_water模式),使用者可以自行定义文字颜色、文字大小、已完成进度的颜色、未完成进度的颜色等多个属性,同时提供了简单的例子以及多个style 以供参考!...
分类:
移动开发 时间:
2014-09-06 18:46:23
阅读次数:
425
given a string ,return the longest substring that contains at most twocharacters.extern "C" char *SubStringWithAtMost2Chars(char * pStr, int len){ ...
分类:
其他好文 时间:
2014-09-03 14:29:36
阅读次数:
211
这题想了好久才弄懂,首先题意是要求最先出队且获得的糖果数最多的人,所以只需要在循环中每次判断此时出队的人获得的糖果数是否比别人多
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using...
分类:
其他好文 时间:
2014-09-03 11:16:06
阅读次数:
150
Copy from:http://www.javamex.com/tutorials/memory/instrumentation.shtmlInstrumentation: querying the memory usage of a Java objectThe most reliable— b...
分类:
编程语言 时间:
2014-09-03 09:33:46
阅读次数:
296
Five ways for tracing Java executionI'm often faced with a situation where I need to dig into code that I didn't write. Most of it is poorly documente...
分类:
编程语言 时间:
2014-09-03 09:31:16
阅读次数:
390
The most difficult aspect of running Nettuts+ is accounting for so many different skill levels. If we post too many advanced tutorials, our beginner a...
分类:
Web程序 时间:
2014-09-02 19:40:45
阅读次数:
425
Most designers on dribbble have a personal portfolio website that usually consists of a name and a bit about themselves – maybe even some work.When it...
分类:
其他好文 时间:
2014-09-02 19:24:15
阅读次数:
300