摘要:        
Description魔术师的桌子上有n个杯子排成一行,编号为1,2,…,n,其中某些杯子底下藏有一个小球,如果你准确地猜出是哪些杯子,你就可以获得奖品。花费c_ij元,魔术师就会告诉你杯子i,i+1,…,j底下藏有球的总数的奇偶性。采取最优的询问策略,你至少需要花费多少元,才能保证猜出哪些杯子底下...    阅读全文
        posted @ 2014-10-27 21:20
zhber
阅读(676)
评论(0)
推荐(0)
            
        
        
摘要:        
D. Red-Green Towerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere arerred andggreen block...    阅读全文
        posted @ 2014-10-27 21:08
zhber
阅读(230)
评论(0)
推荐(0)
            
        
        
摘要:        
C. Table Decorationstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou haverred,ggreen andbblue ...    阅读全文
        posted @ 2014-10-27 21:07
zhber
阅读(318)
评论(0)
推荐(0)
            
        
        
摘要:        
B. Random Teamstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputnparticipants of the competition w...    阅读全文
        posted @ 2014-10-27 21:02
zhber
阅读(317)
评论(0)
推荐(0)
            
        
        
摘要:        
A. Expressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies in a school and he ado...    阅读全文
        posted @ 2014-10-27 21:00
zhber
阅读(757)
评论(0)
推荐(0)
            
        
        
摘要:        
C. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputStudent Valera is an undergraduate studen...    阅读全文
        posted @ 2014-10-27 20:59
zhber
阅读(391)
评论(0)
推荐(0)
            
        
        
摘要:        
D. Long Jumpstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputValery is a PE teacher at a school i...    阅读全文
        posted @ 2014-10-27 20:57
zhber
阅读(273)
评论(0)
推荐(0)
            
        
        
摘要:        
E. Riding in a Lifttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputImagine that you are in a bui...    阅读全文
        posted @ 2014-10-27 20:54
zhber
阅读(290)
评论(0)
推荐(0)
            
        
        
摘要:        
A. Initial Bettime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are five people playing a gam...    阅读全文
        posted @ 2014-10-27 20:46
zhber
阅读(253)
评论(0)
推荐(0)
                    
                
浙公网安备 33010602011771号