04 2013 档案
摘要:1086: 超市购物Time Limit: 1 SecMemory Limit: 128 MBSubmit: 183Solved: 73[Submit][Status][Web Board]Description 上次去超市扫荡回来的东西用完了,Staginner又得跑超市一趟,出发前他列了一张购物清单,打算去买K种不同的商品,每种买一件。到了超市,Staginner发现每种商品有N个品牌,每个品牌此商品的价格为Vi,对Staginner的作用值为Wi,他会从这N个品牌里面挑一个品牌买。这时,Staginner突然想起出门时只带了M元钱,又懒得去取钱了,所以不一定能买完K种商品,只好尽可...
阅读全文
摘要:Charm BraceletTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 15677Accepted: 7130DescriptionBessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from the N (1 ≤ N ≤ 3...
阅读全文
摘要:斌牛出的校赛题1271: Brackets SequenceTime Limit: 1 SecMemory Limit: 128 MBSubmit: 92Solved: 36[Submit][Status][Web Board]Description Let us define a regular brackets sequence in the following way: 1. Empty sequence is a regular sequence. 2. If S is a regular sequence, then (S) is a regular sequenc...
阅读全文
摘要:Where's Waldorf?Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line of letters in the grid. A word can match the letters in the grid regardless of case (i.e. upper and lower case let
阅读全文

浙公网安备 33010602011771号