Problem DescriptionIt’s an interesting experience to move from ICPC to work, end my college life and start a brand new journey in company.As is known ...
分类:
其他好文 时间:
2015-07-28 20:42:38
阅读次数:
130
DescriptionByteland国家的网络单向传输系统可以被看成是以首都 Bytetown为中心的有向树,一开始只有Bytetown建有基站,所有其他城市的信号都是从Bytetown传输过来的。现在他们开始在其他城市陆 续建立了新的基站,命令“C x“代表在城市x建立了一个新的基站,不会在同一...
分类:
其他好文 时间:
2015-07-27 18:10:41
阅读次数:
199
Description We all use cell phone today. And we must be familiar with the intelligent English input method on the cell phone. To be specific, the nu.....
分类:
其他好文 时间:
2015-07-21 21:53:06
阅读次数:
116
Description某部队进行新兵队列训练,将新兵从一开始按顺序依次编号,并排成一行横队,训练的规则如下:从头开始一至二报数,凡报到二的出列,剩下的向小序号方向靠 拢,再从头开始进行一至三报数,凡报到三的出列,剩下的向小序号方向靠拢,继续从头开始进行一至二报数。。。,以后从头开始轮流进行一至二报数...
分类:
其他好文 时间:
2015-07-21 20:27:56
阅读次数:
116
Problem DescriptionTom owns a company and he is the boss. There are n staffs which are numbered from 1 to n in this company, and every staff has a abi...
分类:
其他好文 时间:
2015-07-21 20:19:05
阅读次数:
160
Description At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is th...
分类:
其他好文 时间:
2015-07-20 23:02:41
阅读次数:
131
时间限制:10000ms单点时限:1000ms内存限制:256MB描述Rowdark是一个邪恶的魔法师。在他阅读大巫术师Lich的传记时,他发现一类黑魔法来召唤远古生物,鱼丸。魔法n能召唤类型i鱼丸当且仅当i能够被表示为x xor n*x对于某个正整数x和固定的n。Rowdark想知道类型为[L,R...
分类:
其他好文 时间:
2015-06-15 00:04:33
阅读次数:
127
时间限制:6000ms单点时限:1000ms内存限制:256MB描述你在赌场里玩梭哈,已经被发了4张牌,现在你想要知道发下一张牌后你得到顺子的概率是多少?假定赌场使用的是一副牌,四种花色的A、2、3、...、J、Q、K共52张,这副牌只发给你了4张,你的剩下一张牌从剩下48张中任意取出一张。顺子指的...
分类:
编程语言 时间:
2015-06-14 22:41:56
阅读次数:
164
Problem DescriptionMemphis loves xor very musch.Now he gets an array A.The length of A is n.Now he wants to know the sum of all (lowbit(Ai xor Aj) (i,...
分类:
编程语言 时间:
2015-06-13 22:53:56
阅读次数:
226