二分
GXwar
这个作者很懒,什么都没留下…
展开
-
POJ 1905 Expanding Rods
http://poj.org/problem?id=1905 --------------------------------------------------------------------------------- 思路:这题感觉难点在原创 2014-04-23 15:51:39 · 617 阅读 · 0 评论 -
POJ 3258 River Hopscotch
#include #include #include int L,n,m; int a[50005]; int cmp(const void* a,const void* b) { return *(int *)a-*(int *)b; } int main() { int sum,cnt; scanf("%d%d%d",&L,&n,&m);原创 2014-04-23 15:24:51 · 557 阅读 · 0 评论