摘要:        
题目描述 一场可怕的地震后,人们用N个牲口棚(1≤N≤150,编号1..N)重建了农夫John的牧场。由于人们没有时间建设多余的道路,所以现在从一个牲口棚到另一个牲口棚的道路是惟一的。因此,牧场运输系统可以被构建成一棵树。John想要知道另一次地震会造成多严重的破坏。有些道路一旦被毁坏,就会使一棵含    阅读全文
posted @ 2020-03-25 23:16
脂环
阅读(164)
评论(0)
推荐(0)
        
            
        
        
摘要:        
E. Count The Blocks time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You wrote down all i    阅读全文
posted @ 2020-03-25 14:07
脂环
阅读(178)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Petya has a rectangular Board of size n×mn×m . Initially, kk chips are placed on the board, ii -th chip is located in the cell at the intersection of     阅读全文
posted @ 2020-03-25 00:40
脂环
阅读(313)
评论(0)
推荐(0)
        

 浙公网安备 33010602011771号
浙公网安备 33010602011771号