1. Download the DEB package:Adobe Reader 9.5.5 enuUPDATE:Adobe Reader has recently removed support for Linux. Thanks toEnkouyami, if the above link is...
分类:
其他好文 时间:
2014-10-05 01:06:47
阅读次数:
243
Codeforces Round #267 (Div. 2) C. George and Job题目链接请点击~The new ITone 6 has been released recently and George got really keen ...
分类:
其他好文 时间:
2014-10-05 00:24:57
阅读次数:
190
题意:
给定n个点的树 K
下面n个数是点权
下面n-1行给出树边。
问:
是否存在一条路径使得路径上点权积 % mod = K
若存在则输出路径的两端。
若存在多条路径则输出字典序最小的一条。
思路:
按树重心分治。
分成路径是否经过树重心。
然后用力码。。
has[x] = u;
表示乘积为x 对应的点是u
但这样has就不能用计数器来优化清空。
...
分类:
其他好文 时间:
2014-10-04 23:30:27
阅读次数:
231
Problem Description
Lee has a string of n pearls. In the beginning, all the pearls have no color. He plans to color the pearls to make it more fascinating. He drew his ideal pattern of the string o...
分类:
其他好文 时间:
2014-10-03 22:31:45
阅读次数:
363
Wormholes
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 31593
Accepted: 11497
Description
While exploring his many farms, Farmer John has discovered a nu...
分类:
其他好文 时间:
2014-10-03 12:01:04
阅读次数:
187
Description has only two SentencesTime Limit: 3000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 886Accepted Subm...
分类:
其他好文 时间:
2014-10-02 20:06:33
阅读次数:
239
oracle表连接又被问到了,感觉细节了解还是远远不够啊,从网上找资料学习之。转载的。在查看sql执行计划时,我们会发现表的连接方式有多种,本文对表的连接方式进行介绍以便更好看懂执行计划和理解sql执行原理。 一、连接方式: 嵌套循环(NestedLoops (NL)) (散列)哈希连接(Has.....
分类:
数据库 时间:
2014-10-02 19:43:43
阅读次数:
253
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum
...
分类:
其他好文 时间:
2014-10-02 18:26:13
阅读次数:
174
Beautiful People
Time Limit: 5 Seconds Memory Limit: 32768 KB Special Judge
The most prestigious sports club in one city has exactly N members. Each of its members is strong and beauti...
分类:
其他好文 时间:
2014-10-02 14:10:43
阅读次数:
180
1479: Treasure Chest Lock
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 7 Solved: 5
[Submit][Status][Web
Board]
Description
Vic has a treasure chest. And there is a lock on the treasure c...
分类:
其他好文 时间:
2014-10-01 17:40:21
阅读次数:
187