摘要:题目: Description 小GJ和小LMW都很喜欢LOL,他们喜欢互相吹牛,诸如“我昨天非常强,打了20把全部超神了”。但是聪明的SWB却每每都能看着数据识破他们吹牛的伎俩。已知LOL击杀、死亡和助攻可以以任意顺序发生,连续完成8次击杀即被视作超神,死亡会打断连续击杀,助攻没有影响。 Inpu
阅读全文
摘要:题目: Description 现在给你一棵根节点编号为1的树,每个节点上都有对应的权值, 求出树上每一层的最大值。(根节点所在位置视为第一层,由此可推,根节点的儿子是处于第二层,etc) Input 多组数据读入 第一行输入一个正整数n表示树上有n个节点(n<=100000),下一行输入n个正整数
阅读全文
摘要:题目: Description 现在《炉石传说》这款卡牌游戏已经风靡全球。2015年加入环境的“黑石山的火焰”扩展带来了一个新套牌的核心卡片“恐怖的奴隶主”,而这套统治游戏的套牌叫做“奴隶战”。“恐怖的奴隶主”的登场音效“想打架吗?算我一个!”一定在所有这个时代的《炉石传说》玩家心里留下来难以磨灭的
阅读全文
摘要:题目: Description Johnson is very interested in the k-th power of 2 number, such as 2,4,8,16 .... So he always boasts that he is good at solving problem
阅读全文
摘要:题目: Description Johnson and Bob are crazy motorcycle collecting enthusiasts. In order to prove their own motorcycles is the best, they issued a challe
阅读全文
摘要:Description CLASH ROYAL是个有趣的游戏, Johnson最近也是被它深深的迷上了。 火枪手是Johnson最喜欢用的一张卡,可能是感觉火枪打人有种爆头的快感把233 今天Johnson运气貌似特别好,对面选手游戏过程中掉线了 机不可失,Johnson准备派遣自己引以为豪的火枪大
阅读全文
摘要:题目: Description Did you know that if you draw a circle that fills the screen on your 1080p high definition display, almost a million pixels are lit? T
阅读全文
摘要:题目: Description The Happy Desert is full of sands. There is only a kind of animal called camel living on the Happy Desert. Cause they live here, they
阅读全文
摘要:题目: Description James得到了一堆有趣的硬币,于是决定用这些硬币跟朋友们玩个小游戏。在一个N行M列的表格上,每一个第i行第j列的格子上都放有一枚James的硬币,抛该硬币正面朝上的概率为Pij,所有抛硬币事件两两之间是相互独立的。 现在,玩家在M列硬币中,从每一列里各选择1枚,共M
阅读全文
摘要:题目: Description A Horcrux is an object in which a Dark wizard or witch has hidden a fragment of his or her soul for the purpose of attaining immortali
阅读全文
摘要:题目: Description Binary Search Tree, abbreviated as BST, is a kind of binary tree maintains the following property: each node has a Key value, which ca
阅读全文
摘要:题目: Description Bo has been in Changsha for four years. However he spends most of his time staying his small dormitory. One day he decides to get out
阅读全文
摘要:题目: Description Brother Xi has recently bought a smart mobile phone. Now he surfs Internet by his mobile phone almost every day. The browser that he u
阅读全文