随笔分类 - 数据结构与算法C++
摘要:#include<iostream> #include<algorithm> using namespace std; struct Item{ int w,d; //w体积,d价值 }; Item items[3500]; int f[13000]; //j个空间的能装的最大价值f[j] int
阅读全文
摘要:#include<iostream> #include<queue> #include<stack> using namespace std; struct BinaryTreeNode { char data; BinaryTreeNode* leftChild; BinaryTreeNode*
阅读全文

浙公网安备 33010602011771号