摘要: Little Tiger vs. Deep MonkeyTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 960Accepted Submission... 阅读全文
posted @ 2014-10-21 22:04 haohaooo 阅读(197) 评论(0) 推荐(0) 编辑
摘要: (转)http://blog.csdn.net/u013081425/article/details/39240021http://acm.hdu.edu.cn/showproblem.php?pid=4418读了一遍题后大体明白意思,但有些细节不太确定。就是当它处在i点处,它有1~m步可以走,但他... 阅读全文
posted @ 2014-10-20 22:40 haohaooo 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Aeroplane chessTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1597Accepted Submission(s): 1088Pro... 阅读全文
posted @ 2014-10-20 17:52 haohaooo 阅读(175) 评论(0) 推荐(0) 编辑
摘要: One Person GameTime Limit: 1 Second Memory Limit: 32768 KB Special JudgeThere is a very simple and interesting one-person game. You have 3 dice, nam... 阅读全文
posted @ 2014-10-20 17:28 haohaooo 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Area of MushroomTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2390Accepted Submission(s): 578Pro... 阅读全文
posted @ 2014-10-20 13:01 haohaooo 阅读(195) 评论(0) 推荐(0) 编辑
摘要: K -Yet Another Multiple ProblemTime Limit:20000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 4474Appoint description:Desc... 阅读全文
posted @ 2014-10-20 12:44 haohaooo 阅读(168) 评论(0) 推荐(0) 编辑
摘要: STLqsortintcompare(constvoid*arg1,constvoid*arg2){ return(*(int*)arg1*(int*)arg2)?1:0;}这是一个和STL没有丝毫关系的传统风格的C++程序。因为程序的注释已经很详尽了,所以不需要我再做更多的解释。总的说来,这个程序... 阅读全文
posted @ 2014-10-19 19:58 haohaooo 阅读(127) 评论(0) 推荐(0) 编辑
摘要: codeforces 459EE. Pashmak and Graphtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPashmak's home... 阅读全文
posted @ 2014-10-19 19:58 haohaooo 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 向量a(x1,y1,z1),b(x2,y2,z2)数量积(点积,内积):a.b = x1x2+y1y2+z1z2 等于一个数值(标量);向量积(叉积): a×b =|e1 e2 e3||x1 y1 z1|(1)|x2 y2 z2|e1、e2、e3为OXYZ坐标系轴的三个单位向量。向量积用一... 阅读全文
posted @ 2014-10-19 19:57 haohaooo 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Bestcoder#5 1002Poor MitsuiTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 336 Accepted Submissi... 阅读全文
posted @ 2014-10-19 19:56 haohaooo 阅读(166) 评论(0) 推荐(0) 编辑