摘要: WLD is always very lucky.His secret is a lucky number . is a fixed odd number. Now he meets a stranger with numbers:.The stranger asks him questions.E 阅读全文
posted @ 2019-08-16 21:43 茄子Min 阅读(175) 评论(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. For every posit 阅读全文
posted @ 2019-08-16 17:58 茄子Min 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of n numbers a1, a2, ..., an and a number of d queries. A d query is a pair (i, j) (1 ≤ i ≤ j ≤ n). For each d query (i, j), you have 阅读全文
posted @ 2019-08-16 17:13 茄子Min 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 2038: [2009国家集训队]小Z的袜子(hose) Time Limit: 20 Sec Memory Limit: 259 MB Submit: 19269 Solved: 8851 [Submit][Status][Discuss] Description 作为一个生活散漫的人,小Z每天早 阅读全文
posted @ 2019-08-16 17:04 茄子Min 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/904/E 来源:牛客网 DongDong数颜色 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format: %lld 题目描述 DongDo 阅读全文
posted @ 2019-08-16 16:16 茄子Min 阅读(207) 评论(0) 推荐(0) 编辑