2012年8月9日

[置顶] Hamming Problem(打表,需技巧,不错的题)

摘要: Hamming ProblemTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeFZU 1045DescriptionFor each three prime numbers p1, p2 and p3, let's define Hamming sequence Hi(p1, p2, p3), i=1, ... as containing in increasing order all the natural numbers whose only prim 阅读全文

posted @ 2012-08-09 17:09 铁树银花 阅读(146) 评论(0) 推荐(0) 编辑

Escape Time II(DFS搜索)

摘要: Escape Time IITime Limit:2000MSMemory Limit:65536KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 3620DescriptionThere is a fire in LTR ’ s home again. The fire can destroy all the things intseconds, so LTR has to escape intseconds. But there are some jewels in LTR ’ s rooms, LTR love jewels 阅读全文

posted @ 2012-08-09 17:00 铁树银花 阅读(251) 评论(0) 推荐(0) 编辑

导航