摘要: 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)
摘要: Description A number is called quasibinary if its decimal representation contains only digits 0 or 1. For example, numbers 0, 1, 101, 110011 — are qua 阅读全文
posted @ 2016-08-04 22:34 eiwje 阅读(281) 评论(0) 推荐(0)
摘要: Description Ford Prefect got a job as a web developer for a small company that makes towels. His current work task is to create a search engine for th 阅读全文
posted @ 2016-08-04 22:19 eiwje 阅读(234) 评论(0) 推荐(0)
摘要: F - Oil Deposits Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description GeoSurvComp地质调查公司负责探测地下石油储藏。 GeoSurvComp现在在一块矩形区域探测石 阅读全文
posted @ 2016-07-25 23:41 eiwje 阅读(211) 评论(0) 推荐(0)
摘要: C - Network Saboteur Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Description A university network is composed of N computers. S 阅读全文
posted @ 2016-07-22 23:02 eiwje 阅读(118) 评论(0) 推荐(0)
摘要: Time Limit:3000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u Description Give you three sequences of numbers A, B, C, then we give you a numbe 阅读全文
posted @ 2016-07-21 17:13 eiwje 阅读(193) 评论(0) 推荐(0)