随笔分类 -  POJ

摘要:DescriptionIfaanddare relatively prime positive integers, the arithmetic sequence beginning withaand increasing byd, i.e.,a,a+d,a+ 2d,a+ 3d,a+ 4d, ...... 阅读全文
posted @ 2015-02-17 22:29 乱齐八糟 阅读(167) 评论(0) 推荐(0)
摘要:DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a pointN(0 ≤N≤ 100,000) on... 阅读全文
posted @ 2015-02-09 16:29 乱齐八糟 阅读(138) 评论(0) 推荐(0)
摘要:DescriptionA friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that... 阅读全文
posted @ 2015-02-09 15:39 乱齐八糟 阅读(182) 评论(0) 推荐(0)