Poj
omtbreak
这个作者很懒,什么都没留下…
展开
-
Poj3253—Fence Repair
原文地址 http://poj.org/problem?id=3253 Fence Repair Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 33844 Accepted: 10881 Description Farmer John wa原创 2015-11-06 23:33:48 · 280 阅读 · 0 评论 -
Poj2388_Who's in the Middle
这题十分水,不过顺便学了下c++里的sort排序 两个参数时,默认为升序排序sort(初始位置,结束位置后一位) 三个参数时,自定义一个方法进行降序排序 sort(初始位置,结束位置后一位,cmp) 例如 bool cmp(int a,int b) { if(a>=b) return true; else return false; } #includ原创 2015-11-06 23:58:49 · 307 阅读 · 0 评论