摘要:
Input file: walk.inOutput file: walk.outTime limit: 1 secondsMemory limit: 128 megabytes在比特镇一共有 n 个街区,编号依次为 1 到 n,它们之间通过若干条单向道路连接。比特镇的交通系统极具特色,除了 m 条单 阅读全文
摘要:
Input file: tour.inOutput file: tour.outTime limit: 1 secondsMemory limit: 128 megabytes在美丽的比特镇一共有 n 个景区,编号依次为 1 到 n,它们之间通过若干条双向道路连接。Byteasar 慕名来到了比特镇 阅读全文
摘要:
Input file: master.inOutput file: master.outTime limit: 1 secondsMemory limit: 128 megabytes 所谓最长公共子串,比如串 A: “abcde”,串 B: “jcdkl”,则它们的最长公共子串为串 “cd”,即长 阅读全文