摘要: 直接上模板: 1 # include <stdio.h> 2 # include <algorithm> 3 # include <string.h> 4 # include <math.h> 5 # include <stdlib.h> 6 using namespace std; 7 8 con 阅读全文
posted @ 2016-08-30 21:23 stort 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Line belt Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3925 Accepted Submission(s): 1524 Probl 阅读全文
posted @ 2016-08-30 21:02 stort 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Balancing Act Description Consider a tree T with N (1 <= N <= 20,000) nodes numbered 1...N. Deleting any node from the tree yields a forest: a collect 阅读全文
posted @ 2016-08-30 14:43 stort 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Tree2cycle Time Limit: 15000/8000 MS (Java/Others) Memory Limit: 102400/102400 K (Java/Others)Total Submission(s): 2174 Accepted Submission(s): 516 Pr 阅读全文
posted @ 2016-08-30 14:05 stort 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Coloring Trees time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output ZS the Coder and Chris th 阅读全文
posted @ 2016-08-30 11:17 stort 阅读(273) 评论(0) 推荐(0) 编辑
摘要: B. Chris and Magic Square time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output ZS the Coder a 阅读全文
posted @ 2016-08-30 07:37 stort 阅读(219) 评论(0) 推荐(0) 编辑