摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1710 通过先序以及中序遍历建树并且输出后序遍历的结果。 代码如下: #include<bits/stdc++.h> using namespace std; typedef unsigned int u 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1527 代码如下: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1848 代码如下: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1846 代码: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; ty 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2067 #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; typede 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1521 代码如下: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; 阅读全文
摘要:
dp: #include<bits/stdc++.h> using namespace std; typedef unsigned int ui; typedef long long ll; typedef unsigned long long ull; #define pf printf #def 阅读全文