摘要: Language:小孩报数问题Time Limit:1000MSMemory Limit:65536KTotal Submissions:10071Accepted:4702Description有N个小孩围成一圈,给他们从1开始依次编号,现指定从第W个开始报数,报到第S个时,该小孩出列,然后从下一... 阅读全文
posted @ 2014-09-23 09:03 浪子小黄人 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Language:Spell checkerTime Limit:2000MSMemory Limit:65536KTotal Submissions:19252Accepted:7040DescriptionYou, as a member of a development team for a ... 阅读全文
posted @ 2014-09-22 20:42 浪子小黄人 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 中文题,题意就不多说了,讲讲思路吧,先根据题意构图,与普通最短路不同的是这一题加了一个Rank,每个点都有一个Rank,题目要求最短路径上的点的Rank的最大差值在M范围内,Dijkstra判断条件时加上Rank约束就行了。我没有添加汇点直接写的,另贴上别人添加汇点的写法。我的代码:#include... 阅读全文
posted @ 2014-09-21 09:51 浪子小黄人 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Wang Xifeng's Little PlotTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 133Accepted Submission(s)... 阅读全文
posted @ 2014-09-20 20:25 浪子小黄人 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Language:A Knight's JourneyTime Limit:1000MSMemory Limit:65536KTotal Submissions:31142Accepted:10654DescriptionBackgroundThe knight is getting bored o... 阅读全文
posted @ 2014-09-18 19:40 浪子小黄人 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Flip GameTime Limit:1000MSMemory Limit:65536KTotal Submissions:31031Accepted:13500DescriptionFlip game is played on a rectangular 4x4 field with two-s... 阅读全文
posted @ 2014-09-14 10:25 浪子小黄人 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices.Since matrix multiplication is associative, the order in wh... 阅读全文
posted @ 2014-09-12 23:11 浪子小黄人 阅读(182) 评论(0) 推荐(0) 编辑
摘要: jdk下载 点我~Java SE Development Kit 8u20You must accept theOracle Binary Code License Agreement for Java SEto download this software. Accept License Agre... 阅读全文
posted @ 2014-09-04 20:32 浪子小黄人 阅读(193) 评论(0) 推荐(0) 编辑
摘要: DescriptionA research laboratory of a world-leading automobile company has received an order to create a special transmission mechanism, which allows ... 阅读全文
posted @ 2014-09-02 17:02 浪子小黄人 阅读(517) 评论(0) 推荐(0) 编辑
摘要: Absurdistan RoadsTime Limit: 5678/3456MS (Java/Others) Memory Limit: 65432/65432KB (Java/Others)SubmitStatusThe people of Absurdistan discovered how ... 阅读全文
posted @ 2014-08-27 14:25 浪子小黄人 阅读(219) 评论(0) 推荐(0) 编辑