摘要:        
C. New Year and Domino time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output C. New Year and D    阅读全文
posted @ 2018-08-09 22:01
Fitz~
阅读(200)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Description After their royal wedding, Jiajia and Wind hid away in XX Village, to enjoy their ordinary happy life. People in XX Village lived in beaut    阅读全文
posted @ 2018-08-09 15:54
Fitz~
阅读(514)
评论(1)
推荐(0)
        
            
        
        
摘要:        
Problem Description The ALPC company is now working on his own network system, which is connecting all N ALPC department. To economize on spending, th    阅读全文
posted @ 2018-08-09 12:27
Fitz~
阅读(256)
评论(0)
推荐(0)
        
            
        
        
摘要:        
LCA 题意:给一个无根树,有q个询问,每个询问3个点,问将这3个点连起来,距离最短是多少, LCA的模板题,分别求LCA(X,Y),LCA(X,Z),LCA(Y,Z), 和对应的距离,然后3个距离相加再除以2就是这个询问的结果    阅读全文
posted @ 2018-08-09 10:41
Fitz~
阅读(114)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Problem Description After World War X, a lot of cities have been seriously damaged, and we need to rebuild those cities. However, some materials neede    阅读全文
posted @ 2018-08-09 10:14
Fitz~
阅读(111)
评论(0)
推荐(0)
        
            
        
        
摘要:        
How far away ? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 22976 Accepted Submission(s): 9078    阅读全文
posted @ 2018-08-09 09:41
Fitz~
阅读(177)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号