摘要: E -Burning Midnight OilTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionOne day a highly important task was commissioned to Vasya — writing a program in a night. The program consists ofnlines of code. Vasya is already exhausted, so he works like that: fir 阅读全文
posted @ 2013-07-25 11:30 围剿大叔 阅读(187) 评论(0) 推荐(0) 编辑
摘要: rt 阅读全文
posted @ 2013-07-25 10:15 围剿大叔 阅读(99) 评论(0) 推荐(0) 编辑
摘要: I -TroubleTime Limit:5000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionHassan is in trouble. His mathematics teacher has given him a very difficult problem called 5-sum. Please help him.The 5-sum problem is defined as follows: Given 5 sets S_1,...,S_5 of n integer num 阅读全文
posted @ 2013-07-25 10:08 围剿大叔 阅读(187) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid that divides the land into numerous square plots. It then analyzes each plot separately, using sensing e 阅读全文
posted @ 2013-07-24 11:31 围剿大叔 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 专题二(分治)131:19:34725:00:00OverviewProblemStatusRankABCDEFGHID -4 Values whose Sum is 0Time Limit:15000MSMemory Limit:228000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet 阅读全文
posted @ 2013-07-18 10:24 围剿大叔 阅读(196) 评论(0) 推荐(0) 编辑
摘要: A -Expanding RodsTime Limit:1000MSMemory Limit:30000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionWhen a thin rod of length L is heated n degrees, it expands to a new length L'=(1+n*C)*L, where C is the coefficient of heat expansion.When a thin rod is mounted on two solid walls and t 阅读全文
posted @ 2013-07-17 10:37 围剿大叔 阅读(215) 评论(0) 推荐(0) 编辑