
编程
xia_xiao_mo
这个作者很懒,什么都没留下…
展开
-
POJ3273——Monthly Expense
DescriptionFarmer 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 · 326 阅读 · 0 评论 -
数位dp
数位问题:一般有三种状态,各个状态可以用前一个状态表示,此外一般从高位往低位方向处理HDU 3555:BombBombTime 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 · 299 阅读 · 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 · 367 阅读 · 0 评论