上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: guruguru 题目描述 Snuke is buying a lamp. The light of the lamp can be adjusted to m levels of brightness, represented by integers from 1 through m, by th 阅读全文
posted @ 2018-08-08 16:26 1371767389 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 异或序列 题目描述 已知一个长度为n的整数数列a1,a2,…,an,给定查询参数l、r,问在al,al+1,…,ar区间内,有多少子序列满足异或和等于k。也就是说,对于所有的x,y(l≤x≤y≤r),满足ax⊕ax+1⊕⋯⊕ay=k的x,y有多少组。 输入 输入第一行为3个整数n,m,k。第二行为空 阅读全文
posted @ 2018-08-07 21:32 1371767389 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 最优贸易 题目描述 C 国有 n 个大城市和 m 条道路,每条道路连接这 n 个城市中的某两个城市。任意两个城市之间最多只有一条道路直接相连。这 m 条道路中有一部分为单向通行的道路,一部分为双向通行的道路,双向通行的道路在统计条数时也计为 1 条。C 国幅员辽阔,各地的资源分布情况各不相同,这就导 阅读全文
posted @ 2018-08-06 20:54 1371767389 阅读(294) 评论(0) 推荐(0) 编辑
摘要: farm 时间限制:C/C++ 4秒,其他语言8秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 时间限制:C/C++ 4秒,其他语言8秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %l 阅读全文
posted @ 2018-08-05 18:54 1371767389 阅读(570) 评论(0) 推荐(0) 编辑
摘要: Fruit Ninja 时间限制:C/C++ 5秒,其他语言10秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 Fruit 阅读全文
posted @ 2018-08-05 17:10 1371767389 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 商务旅行 时间限制: 1 s 空间限制: 128000 KB <!-- clearfix --> 时间限制: 1 s 空间限制: 128000 KB 时间限制: 1 s 时间限制: 1 s 空间限制: 128000 KB 空间限制: 128000 KB 题目描述 Description 某首都城市的 阅读全文
posted @ 2018-08-04 21:13 1371767389 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Generation I Oak is given N empty and non-repeatable sets which are numbered from 1 to N. Now Oak is going to do N operations. In the i-th operation, 阅读全文
posted @ 2018-08-04 20:44 1371767389 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Heritage of skywalkert skywalkert, the new legend of Beihang University ACM-ICPC Team, retired this year leaving a group of newbies again. Rumor has i 阅读全文
posted @ 2018-08-04 18:19 1371767389 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Bichrome Tree 题目描述 We have a tree with N vertices. Vertex 1 is the root of the tree, and the parent of Vertex i (2≤i≤N) is Vertex Pi.To each vertex in 阅读全文
posted @ 2018-08-03 20:16 1371767389 阅读(349) 评论(0) 推荐(0) 编辑
摘要: Small Multiple 题目描述 Find the smallest possible sum of the digits in the decimal notation of a positive multiple of K.Constraints2≤K≤105K is an integer 阅读全文
posted @ 2018-08-03 19:16 1371767389 阅读(281) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页