只有注册用户登录后才能阅读该文。 阅读全文
摘要:
前言_ 我们遇到的问题中,有很大一部分可以用动态规划(简称DP)来解。解决这类问题可以很大地提升你的能力与技巧,我会试着帮助你理解如何使用DP来解题。这篇文章是基于实例展开来讲的,因为干巴巴的理论实在不好理解。 注意:如果你对于其中某一节已经了解并且不想阅读它,没关系,直接跳过它即可。 简介(入门) 阅读全文
摘要:
#include #include #include #include #include #include #include using namespace std; template class priorityqueue { private: struct node { node* left; node* right; ... 阅读全文
摘要:
http://acm.sjtu.edu.cn/OnlineJudge/problem/1050 阅读全文
摘要:
#ifndef SJTU_LIST_HPP #define SJTU_LIST_HPP #include #include #include #include #include #include #include namespace sjtu { class exception { protected: const std::string variant = ""; ... 阅读全文
摘要:
线性表 Vector 阅读全文