1089: [SCOI2003]严格n元树Time Limit: 1 SecMemory Limit: 162 MBSubmit: 762Solved: 387[Submit][Status]Description如果一棵树的所有非叶节点都恰好有n个儿子,那么我们称它为严格n元树。如果该树中最底层的... Read More
1406: [AHOI2007]密码箱Time Limit: 5 SecMemory Limit: 64 MBSubmit: 687Solved: 390[Submit][Status]Description在一次偶然的情况下,小可可得到了一个密码箱,听说里面藏着一份古代流传下来的藏宝图,只要能破解... Read More
1270: [BeijingWc2008]雷涛的小猫Time Limit: 50 SecMemory Limit: 162 MBSubmit: 836Solved: 392[Submit][Status]DescriptionInputOutputSample InputSample Output8... Read More
1211: [HNOI2004]树的计数Time Limit: 10 SecMemory Limit: 162 MBSubmit: 1245Solved: 383[Submit][Status]Description一个有n个结点的树,设它的结点分别为v1, v2, …, vn,已知第i个结点vi的... Read More
2729: [HNOI2012]排队Time Limit: 10 SecMemory Limit: 128 MBSubmit: 866Solved: 397[Submit][Status]Description某中学有 n 名男同学,m 名女同学和两名老师要排队参加体检。他们排成一条直线,并且任意两... Read More