题目描述 如何设计一个好的数据库不仅仅是一个理论研究问题,也是一个实际应用问题。在关系数据库中不满足规范化理论的数据库设计会存在冗余、插入异常、删除异常等现象。 设R(U)是一个关系模式,U={ A1,A2, ……, An}。其中Ai是关系的属性,X,Y是U的子集。函数依赖 X->Y 定义了数据库中 ...
分类:
其他好文 时间:
2018-06-03 19:35:56
阅读次数:
138
题目描述 As a landlocked country in central and southern Africa , the political situation has been relatively stable since the implementation of multi-par ...
分类:
其他好文 时间:
2018-06-03 19:35:35
阅读次数:
237
解法不唯一,但是还是set好理解而且用着爽,代码注释应该够详细了 ...
分类:
其他好文 时间:
2018-05-22 10:40:43
阅读次数:
169
XiaoMing likes mathematics, and heis just learning how to convert numbers between different bases , but he keeps making errorssince he is only 6 years ...
分类:
其他好文 时间:
2018-05-10 19:59:55
阅读次数:
206
XiaoMing likes mathematics, and heis just learning how to convert numbers between different bases , but he keeps making errorssince he is only 6 years ...
分类:
其他好文 时间:
2018-05-06 14:53:41
阅读次数:
194
题目思路:使用二分查找路径中最大值和最小值之间的差值,从而确定出一组minn和maxn,对此组的minn和maxn经行DFS,如果可以找到一条路径,其中的最大值,最小值在minn~maxn的范围内,则查找成功。继续向左查找,否则向右查找 #include<iostream> #include<alg ...
分类:
其他好文 时间:
2016-09-14 00:08:41
阅读次数:
137
这次比赛的吐槽点太多了,算是参加过的最奇葩的一场比赛吧,题目是郑州大学老师出的,太有局限性了,基本上除了水题就是图论,其他知识点一个没有,希望有关老师能够开放一点,把省赛的水平提上去,不然这样发展下去感觉真的参加省赛的意义不太大了,就只是玩玩而已。
热身赛的话一道简单的类似于表达式求值的题目,一道水题,然后我们上去发现B题简单,先写了提交,返回wa,然后就测试了下打印代码,我上去写A题,A题写完的...
分类:
其他好文 时间:
2015-05-11 10:48:09
阅读次数:
144
Substring
时间限制:1000 ms | 内存限制:65535 KB
难度:1
描述
You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substrin...
分类:
其他好文 时间:
2014-12-26 14:40:43
阅读次数:
236
River Crossing
时间限制:1000 ms | 内存限制:65535 KB
难度:4
描述
Afandi is herding N sheep across the expanses of grassland when he finds himself blocked by a river. A single raft is available for transpo...
分类:
其他好文 时间:
2014-12-26 11:13:47
阅读次数:
242
Adjacent Bit Counts
时间限制:1000 ms | 内存限制:65535 KB
难度:4
描述
For a string of n bits x1, x2, x3, …, xn, the adjacent bit count of the string is given by fun(x) = x1*x2 + x2*x3 + x3*x 4 + … + ...
分类:
其他好文 时间:
2014-12-26 11:10:26
阅读次数:
199