您当前的位置: 首页 > 

钟钟终

暂无认证

  • 3浏览

    0关注

    233博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

第二周---贪心题解(D)

钟钟终 发布时间:2021-03-14 15:57:57 ,浏览量:3

题D Farmer John has a problem: the dirt road from his farm to town has suffered in the recent rainstorms and now contains (1 a[i].x>>a[i].y; } sort(a,a+n,cmp); int sum=0,s=0; for(int i=0;i=a[i].y) continue; s=max(s,a[i].x); while(s

关注
打赏
1664378814
查看更多评论
立即登录/注册

微信扫码登录

0.0390s