码迷,mamicode.com
首页 >  
搜索关键字:pair    ( 2800个结果
CodeForces 659E New Reform (图的遍历判环)
Description Berland has n cities connected by m bidirectional roads. No road connects a city to itself, and each pair of cities is connected by no mor ...
分类:其他好文   时间:2017-08-02 16:01:55    阅读次数:195
loj6198谢特 后缀数组+并查集+Trie
先把问题放在后缀数组上考虑 已知两个数组a b,求min(a[i],...,a[j])+(b[i]^b[j])的最大值 套路题 初始每个点都是一个小连通块 把a按从大到小的顺序加入,计算当前加入边作为min的贡献: 每次加入会把两个连通块联通,答案就是两边连通块各出一个数能得到的异或和最大值 我:这 ...
分类:编程语言   时间:2017-08-02 11:54:00    阅读次数:286
FarmCraft[POI2014]
题目描述 In a village called Byteville, there are houses connected with N-1 roads. For each pair of houses, there is a unique way to get from one to anoth ...
分类:其他好文   时间:2017-08-02 09:58:19    阅读次数:138
2017ecjtu-summer training #7 POJ 2689
Prime Distance Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18731 Accepted: 5006 Description The branch of mathematics called number the ...
分类:其他好文   时间:2017-08-02 00:41:49    阅读次数:160
Codeforces Gym 100269 Dwarf Tower (最短路)
题目连接: http://codeforces.com/gym/100269/attachments Description Little Vasya is playing a new game named “Dwarf Tower”. In this game there are n differ ...
分类:其他好文   时间:2017-08-02 00:25:10    阅读次数:161
测序领域常用名词解释
kb=千碱基 kilobase nt=核苷酸 nucleotide bp=碱基对 base pair kb=千碱基 kilobase nt=核苷酸 nucleotide bp=碱基对 base pair 高通量测序 高通量测序技术(High-throughput sequencing,HTS),有些 ...
分类:其他好文   时间:2017-08-01 23:15:18    阅读次数:250
[POJ 1269]Intersecting Lines
Intersecting Lines Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 16311 Accepted: 7040 Description We all know that a pair of distinct poi ...
分类:其他好文   时间:2017-08-01 22:55:58    阅读次数:164
[POJ 1269]Intersecting Lines
Description We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three wa ...
分类:其他好文   时间:2017-08-01 12:35:50    阅读次数:212
[LeetCode] 399. Evaluate Division Java
题目: Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating point number). G ...
分类:编程语言   时间:2017-07-31 15:50:46    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!