码迷,mamicode.com
首页 >  
搜索关键字:gtys gay friends    ( 1079个结果
*HDU3172 并查集
Virtual Friends Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8165 Accepted Submission(s): 2345 ...
分类:其他好文   时间:2016-11-01 23:46:12    阅读次数:284
javascript实现继承的几种方式
原型链方式实现继承 [javascript] view plain copy print? function SuperType(){ this.property = true; this.colors = ['red','blue','green']; } SuperType.prototype. ...
分类:编程语言   时间:2016-10-22 11:45:42    阅读次数:319
【POJ3169 】Layout (认真的做差分约束)
Layout Description Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 <= N <= 1,000) cows numbered 1..N ...
分类:其他好文   时间:2016-10-21 20:04:28    阅读次数:366
codeforces 723A : The New Year: Meeting Friends
Description There are three friend living on the straight line Ox in Lineland. The first friend lives at the point x1, the second friend lives at the ...
分类:其他好文   时间:2016-10-06 16:49:32    阅读次数:140
Moscow Pre-Finals Workshop 2016. National Taiwan U Selection
A. As Easy As Possible 每个点往右贪心找最近的点,可以得到一棵树,然后倍增查询即可。 时间复杂度$O((n+m)\log n)$。 B. Be Friends 从高位到低位依次考虑,对于每一位,按这一位将数字分成两个集合,显然这两个集合要优先连边,那么只需要找到横跨这两个集合的 ...
分类:其他好文   时间:2016-10-06 06:51:38    阅读次数:206
弱校连萌 10.5
A.As Easy As Possible B.Be Friends C.Coprime Heaven D.Drawing Hell E.Easiest Game F.Fibonacci of Fibonacci G.Global Warming H.Hash Collision I.Increas ...
分类:其他好文   时间:2016-10-05 21:50:09    阅读次数:245
Codeforces Round #375 (Div. 2) ABCDE
A - The New Year: Meeting Friends 水 B - Text Document Analysis 字符串暴力模拟,感觉还是需要一点技巧的,我写的太慢了。 C - Polycarp at the Radio 应该也是sb暴力题,map乱搞的(队友写的== D - Lakes ...
分类:其他好文   时间:2016-10-05 13:05:35    阅读次数:180
Codeforces Round #375 (Div. 2)
题目链接: A:The New Year: Meeting Friends B:Text Document Analysis C:Polycarp at the Radio 分析:这场第一题送分,第二题模拟,第三题构造+特殊处理。做出几道说几道,QAQ A. 求出最大值与最小值之差即可 B. 多种情 ...
分类:其他好文   时间:2016-10-04 01:28:32    阅读次数:197
CodeForces 723A The New Year: Meeting Friends (水题)
题意:给定 3 个数,求其中一个数到另外两个数之间的最短距离。 析:很明显选中间那个点了。 代码如下: ...
分类:其他好文   时间:2016-10-04 01:28:09    阅读次数:157
September 27th 2016 Week 40th Tuesday
Friends are lost by calling too often and calling seldom. 交往过密过疏,都会失去朋友。 Please mind your own business, don't be always interfering. Life is about mak ...
分类:其他好文   时间:2016-09-28 01:51:35    阅读次数:115
1079条   上一页 1 ... 42 43 44 45 46 ... 108 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!