![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程
xia_xiao_mo
这个作者很懒,什么都没留下…
展开
-
POJ3273——Monthly Expense
Description Farmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤ moneyi ≤原创 2016-12-02 10:08:56 · 268 阅读 · 0 评论 -
数位dp
数位问题:一般有三种状态,各个状态可以用前一个状态表示,此外一般从高位往低位方向处理 HDU 3555:Bomb BombTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Total Submission(s): 16443 Accepted Submission(原创 2016-12-09 20:17:33 · 252 阅读 · 0 评论 -
快速排序
快速排序 单向快速排序 void qsort(int* array, int left, int right) { if (left >= right) { return; } int pivot = left; //povit element int m = left;原创 2016-12-21 17:01:42 · 305 阅读 · 0 评论