![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术源代码
文章平均质量分 86
geekking
这个作者很懒,什么都没留下…
展开
-
MD5 C++源码 亲测可运行
源代码:MD5.h#pragma once#include #include #include #include #include typedef unsigned char byte;typedef unsigned long int UNIT;using namespace std;class MD5{ public: MD5(); MD5(const string &str); MD5(co原创 2014-09-14 22:13:55 · 1058 阅读 · 0 评论 -
URAL 1005 Stone Pile
URAL 1005 Stone Pile 题意:有最多20个石子,请分成两堆,使得两堆石子的重量差最小 石子重量不超过105 划分问题是NP完全问题, 一般用暴力或者动态规划的方法解决 #include #include #include #include using namespace std;int main(){ int weight[22]; int n; cin>>n;原创 2014-09-14 22:13:58 · 465 阅读 · 0 评论