Y2K Accounting Bug Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18534 Accepted: 9346 Description Accounting for Computer Machinists (ACM ...
分类:
其他好文 时间:
2019-07-17 18:33:27
阅读次数:
62
Description A supermarket has a set Prod of products on sale. It earns a profit px for each product x∈Prod sold by a deadline dx that is measured as a ...
分类:
其他好文 时间:
2019-07-17 16:46:40
阅读次数:
67
。。 食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 105599 Accepted: 31966 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现 ...
分类:
其他好文 时间:
2019-07-17 15:33:46
阅读次数:
74
题目链接: https://vjudge.net/problem/POJ-2387 题意:从编号为n的城市到编号为1的城市的最短路。 思路:dijkstra模板题,直接套板子,代码中我会带点注释给初学者看。 ...
分类:
其他好文 时间:
2019-07-17 14:13:52
阅读次数:
112
-->生日蛋糕 Descriptions: 7月17日是Mr.W的生日,ACM-THU为此要制作一个体积为Nπ的M层生日蛋糕,每层都是一个圆柱体。 设从下往上数第i(1 <= i <= M)层蛋糕是半径为Ri, 高度为Hi的圆柱。当i < M时,要求Ri > Ri+1且Hi > Hi+1。 由于要在 ...
分类:
其他好文 时间:
2019-07-17 00:44:22
阅读次数:
95
这篇文章主要讲解: 1>.对Hibernate使用的一些简单封装; · 2>.在单元测试中,使用Hibernate的封装的工具进行增删改查的测试 1.目录结构展示 2.代码展示 2.0 配置文件 hibernate.cfg.xml <!DOCTYPE hibernate-configuration ...
分类:
编程语言 时间:
2019-07-16 23:59:56
阅读次数:
212
Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From ...
分类:
其他好文 时间:
2019-07-16 20:05:48
阅读次数:
148
FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then sum adjacent numbers t ...
分类:
其他好文 时间:
2019-07-16 18:53:20
阅读次数:
114
2018 CCPC 吉林站 H Lovers 传送门:https://www.spoj.com/problems/LIS2/en/ 题意: q次操作 1.将第l~r个数的左边和和右边都加上一个数d, 使得这个数变成 $ds_id$的形式 2.询问区间和 题解: 线段树题 这个update操作不好维护 ...
分类:
其他好文 时间:
2019-07-16 18:42:30
阅读次数:
94
题面:http://poj.org/problem?id=1961 cpp 本题的重点在于如果一个串是周期串的话,那么每次错位的位置应该是一个循环节。所以当i next[i]=x i时,此时next[i]就是一个循环节。 Code: include include include include i ...
分类:
其他好文 时间:
2019-07-16 15:27:49
阅读次数:
81