摘要: EXTENDED LIGHTS OUTTime Limit:1000MSMemory Limit:10000KTotal Submissions:6196Accepted:4074DescriptionIn an extended version of the game Lights Out, is a puzzle with 5 rows of 6 buttons each (the actual puzzle has 5 rows of 5 buttons each). Each button has a light. When a button is pressed, that butt 阅读全文
posted @ 2014-04-03 15:01 hyx1 阅读(202) 评论(0) 推荐(0) 编辑
摘要: SubsetTime Limit:30000MSMemory Limit:65536KTotal Submissions:1373Accepted:228DescriptionGiven a list of N integers with absolute values no larger than 1015, find a non empty subset of these numbers which minimizes the absolute value of the sum of its elements. In case there are multiple subsets, cho 阅读全文
posted @ 2014-04-03 01:09 hyx1 阅读(527) 评论(0) 推荐(0) 编辑