2015年11月25日

Codeforces 601A:The Two Routes 宽搜最短路径

摘要: A. The Two Routestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn Absurdistan, there arentowns... 阅读全文

posted @ 2015-11-25 21:44 光速小子 阅读(253) 评论(0) 推荐(0) 编辑

51nod 1449:砝码称重

摘要: 1449砝码称重题目来源:CodeForces基准时间限制:1秒 空间限制:131072KB 分值:40难度:4级算法题收藏取消关注现在有好多种砝码,他们的重量是w0,w1,w2,...每种各一个。问用这些砝码能不能表示一个重量为m的东西。样例解释:可以将重物和3放到一个托盘中,9和1放到另外一个托... 阅读全文

posted @ 2015-11-25 14:10 光速小子 阅读(230) 评论(0) 推荐(0) 编辑

导航