摘要:
Aragorn's Story Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14991 Accepted Submission(s): 39 阅读全文
摘要:
2460 树的统计 2460 树的统计 2460 树的统计 题目描述 Description 一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。 我们将以下面的形式来要求你对这棵树完成一些操作: I. CHANGE u t : 把结点u的权值改为t II. QMAX u v: 询问从点u 阅读全文
摘要:
C - Heavy Transportation C - Heavy Transportation C - Heavy Transportation #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> # 阅读全文
摘要:
A - Til the Cows Come Home A - Til the Cows Come Home A - Til the Cows Come Home 思路:板子。 #include<queue> #include<cstdio> #include<cstring> #include<io 阅读全文