会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Menteur_hxy
首页
新随笔
联系
管理
随笔分类 -
算法-差分约束
[luogu2474 SCOI2008]天平(floyd差分约束)
摘要:"传送门" Solution 由于重量只有三种情况,那么想到用差分约束。 由于范围比较小,想到可以floyed求差分约束,暴力求天平另一边 Code cpp include include include include include define F(i,a,b) for(register in
阅读全文
posted @
2018-10-02 20:36
Menteur_hxy
阅读(194)
评论(0)
推荐(0)
公告