摘要: Input file: walk.inOutput file: walk.outTime limit: 1 secondsMemory limit: 128 megabytes在比特镇一共有 n 个街区,编号依次为 1 到 n,它们之间通过若干条单向道路连接。比特镇的交通系统极具特色,除了 m 条单 阅读全文
posted @ 2017-09-03 17:48 沐灵_hh 阅读(512) 评论(0) 推荐(0) 编辑
摘要: Input file: tour.inOutput file: tour.outTime limit: 1 secondsMemory limit: 128 megabytes在美丽的比特镇一共有 n 个景区,编号依次为 1 到 n,它们之间通过若干条双向道路连接。Byteasar 慕名来到了比特镇 阅读全文
posted @ 2017-09-03 17:46 沐灵_hh 阅读(594) 评论(0) 推荐(0) 编辑
摘要: Input file: master.inOutput file: master.outTime limit: 1 secondsMemory limit: 128 megabytes 所谓最长公共子串,比如串 A: “abcde”,串 B: “jcdkl”,则它们的最长公共子串为串 “cd”,即长 阅读全文
posted @ 2017-09-03 17:43 沐灵_hh 阅读(586) 评论(0) 推荐(0) 编辑