摘要:
Vladik is a competitive programmer. This year he is going to win the International Olympiad in Informatics. But it is not as easy as it sounds: the qu 阅读全文
摘要:
A wise man told Kerem "Different is good" once, so Kerem wants all things in his life to be different. Kerem recently got a string s consisting of low 阅读全文
摘要:
Kefa decided to celebrate his first big salary by going to the restaurant. He lives by an unusual park. The park is a rooted tree consisting of n vert 阅读全文
摘要:
Little girl Susie went shopping with her mom and she wondered how to improve service quality. There are n people in the queue. For each person we know 阅读全文
摘要:
Limak is an old brown bear. He often plays poker with his friends. Today they went to a casino. There are nplayers (including Limak himself) and right 阅读全文
摘要:
You've got array a[1], a[2], ..., a[n], consisting of n integers. Count the number of ways to split all the elements of the array into three contiguou 阅读全文
摘要:
题目描述 There is a sequence with n integers, your task is finding there are how many consecutive subsequences have two characters:1.The length of the sub 阅读全文
摘要:
题目描述 天国的地铁遭到了冥王哈乙丁的破坏,神圣军团的总司令爱神下令天国的地铁侠们携手542基地对冥王哈乙丁展开了激烈的斗争。天国中的 m 条地铁通道连接了 n 个实验室,如今所有的实验室已经被哈乙丁破坏。如果地铁要在两个实验室之间来往,那么地铁在它们之间经过的实验室必须是完好的。 地铁侠(江湖人称 阅读全文