摘要: Description 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Description 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从 阅读全文
posted @ 2016-08-05 23:11 eiwje 阅读(142) 评论(0) 推荐(0)
摘要: Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we thin 阅读全文
posted @ 2016-08-05 23:05 eiwje 阅读(206) 评论(0) 推荐(0)
摘要: Description Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task 阅读全文
posted @ 2016-08-05 22:57 eiwje 阅读(135) 评论(0) 推荐(0)