摘要: DescriptionMato同学从各路神犇以各种方式(你们懂的)收集了许多资料,这些资料一共有n份,每份有一个大小和一个编号。为了防止他人偷拷,这些资料都是加密过的,只能用Mato自己写的程序才能访问。Mato每天随机选一个区间[l,r],他今天就看编号在此区间内的... 阅读全文
posted @ 2016-02-04 20:23 Herumw 阅读(112) 评论(0) 推荐(0)
摘要: An array of positive integers a1, a2, ..., an is given. Let us consider its arbitrary subarray al, al + 1..., ar, where 1 ≤ l ≤ r ≤ n.... 阅读全文
posted @ 2016-02-04 18:25 Herumw 阅读(108) 评论(0) 推荐(0)
摘要: time limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBob has a favorite number k and ... 阅读全文
posted @ 2016-02-04 15:00 Herumw 阅读(120) 评论(0) 推荐(0)
摘要: Time Limit: 20 Sec Memory Limit: 259 MBSubmit: 5307 Solved: 2450[Submit][Status][Discuss]Description作为一个生活散漫的人,小Z每天早上都要耗费很久从一堆五颜六色的袜... 阅读全文
posted @ 2016-02-04 12:44 Herumw 阅读(134) 评论(0) 推荐(0)