上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 黑暗城堡 时间限制: 1 Sec 内存限制: 128 MB 题目描述 你知道黑暗城堡有N个房间(1≤N≤1000),M条可以制造的双向通道,以及每条通道的长度。城堡是树形的并且满足下面的条件:如果所有的通道都被修建,设D[i]为第i号房间与第1号房间的最短路径长度;而S[i]为实际修建的树形城堡中第 阅读全文
posted @ 2019-07-29 10:50 1371767389 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 不同子串个数 时间限制1.00 s 内存限制125.00 MB 不同子串个数 不同子串个数 时间限制1.00 s 内存限制125.00 MB 时间限制1.00 s 内存限制125.00 MB 时间限制1.00 s 内存限制125.00 MB 时间限制1.00 s 内存限制125.00 MB 题目背景 阅读全文
posted @ 2019-07-29 09:02 1371767389 阅读(939) 评论(0) 推荐(0) 编辑
摘要: string 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format: %lld 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format 阅读全文
posted @ 2019-07-28 20:55 1371767389 阅读(159) 评论(0) 推荐(0) 编辑
摘要: xor 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format: %lld 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format: % 阅读全文
posted @ 2019-07-27 21:25 1371767389 阅读(160) 评论(0) 推荐(0) 编辑
摘要: I Love Palindrome String 题目描述 You are given a string S=s1s2..s|S| containing only lowercase English letters. For each integer i∈[1,|S|] , please outpu 阅读全文
posted @ 2019-07-27 10:43 1371767389 阅读(337) 评论(0) 推荐(0) 编辑
摘要: Planting Trees 时间限制:C/C++ 3秒,其他语言6秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 时间限制:C/C++ 3秒,其他语言6秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO 阅读全文
posted @ 2019-07-26 11:32 1371767389 阅读(471) 评论(0) 推荐(0) 编辑
摘要: Harmonious Army 题目描述 Now, Bob is playing an interesting game in which he is a general of a harmonious army. There are n soldiers in this army. Each so 阅读全文
posted @ 2019-07-24 20:55 1371767389 阅读(338) 评论(2) 推荐(0) 编辑
摘要: Operation 题目描述 There is an integer sequence a of length n and there are two kinds of operations:0 l r: select some numbers from al...ar so that their 阅读全文
posted @ 2019-07-24 10:48 1371767389 阅读(817) 评论(0) 推荐(0) 编辑
摘要: Kth Minimum Clique 题目描述 Given a vertex-weighted graph with N vertices, find out the K-th minimum weighted clique. A subset of vertices of an undirecte 阅读全文
posted @ 2019-07-20 21:33 1371767389 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 三维偏序(陌上花开) 题目背景 这是一道模板题 可以使用bitset,CDQ分治,K-DTree等方式解决。 题目描述 有 n 个元素,第 i 个元素有 ai​、bi​、ci​ 三个属性,设 f(i) 表示满足 aj​≤ai​ 且 bj​≤bi​ 且 cj​≤ci​ 的 j 的数量。 对于 d∈[0 阅读全文
posted @ 2019-07-19 10:21 1371767389 阅读(342) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页