点击打开链接
1017. Staircases
Time limit: 1.0 second
Memory limit: 64 MB
One curious child has a set of N little bricks (5 ≤ N ≤ 500). From these bricks he builds different staircases. S...
分类:
其他好文 时间:
2015-01-18 14:27:09
阅读次数:
156
题目描述Description Ural大学有N个职员,编号为1~N。他们有从属关系,也就是说他们的关系就像一棵以校长为根的树,父结点就是子结点的直接上司。每个职员有一个快乐指数。现在有个周年庆宴会,要求与会职员的快乐指数最大。但是,没有职员愿和直接上司一起与会。输入描述Input Descri.....
分类:
其他好文 时间:
2015-01-17 16:30:25
阅读次数:
197
点击打开链接
1073. Square Country
Time limit: 1.0 second
Memory limit: 64 MB
There live square people in a square country. Everything in this country is square also. Thus, the Square P...
分类:
其他好文 时间:
2015-01-17 01:16:52
阅读次数:
172
点击打开链接
2018. The Debut Album
Time limit: 2.0 second
Memory limit: 64 MB
Pop-group “Pink elephant” entered on recording their debut album. In fact they have only two songs: “My love...
分类:
编程语言 时间:
2015-01-15 22:04:18
阅读次数:
304
http://acm.timus.ru/problem.aspx?space=1&num=1519题意:给一个n×m的棋盘,其中'.'是空白,'*'是障碍,求经过所有点的哈密顿回路的数目。(n,musing namespace std;typedef long long ll;#define BIT...
分类:
其他好文 时间:
2015-01-15 20:14:35
阅读次数:
378
点击打开链接
1260. Nudnik Photographer
Time limit: 1.0 second
Memory limit: 64 MB
If two people were born one after another with one second difference and one of them is a child, then th...
分类:
其他好文 时间:
2015-01-14 12:47:15
阅读次数:
125
点击打开链接
1353. Milliard Vasya's Function
Time limit: 1.0 second
Memory limit: 64 MB
Vasya is the beginning mathematician. He decided to make an important contribution to the science ...
分类:
其他好文 时间:
2015-01-13 17:46:33
阅读次数:
150
题目地址传送门:URAL 1547
题目大意:Vova忘记了在Timus OJ上面的密码了,密码是由小写字母(a~z)组成的,他只知道密码长度不大于n位,现在他需要用m台数据处理器对密码进行检索,其中检索顺序需要满足字典序。比如他的密码长度不大于2,那就需要依次检索a,b,..........,y,z,aa,ab,..........,zy,zz.输出每台数据检索器的检索区间,使得总的检索效率可...
分类:
其他好文 时间:
2015-01-10 22:24:00
阅读次数:
287
点击打开链接
1119. Metro
Time limit: 0.5 second
Memory limit: 64 MB
Many of SKB Kontur programmers like to get to work by Metro because the main office is situated quite close the statio...
分类:
其他好文 时间:
2015-01-10 18:10:42
阅读次数:
246
对timus 1095做了下推理,锻炼下勇气!...
分类:
其他好文 时间:
2015-01-03 13:13:13
阅读次数:
150