摘要:
Problem DescriptionFor a sequence S1, S2, ... , SN, and a pair of integers (i, j), if 1 2 #include 3 #include 4 #include 5 using namespace std... 阅读全文
posted @ 2014-05-02 22:17
Oyking
阅读(403)
评论(0)
推荐(0)
摘要:
Problem DescriptionGiven n integers.You have two operations:U A B: replace the Ath number by B. (index counting from 0)Q A B: output the length of the... 阅读全文
posted @ 2014-05-02 17:11
Oyking
阅读(265)
评论(0)
推荐(0)
摘要:
Problem Description 吉哥又想出了一个新的完美队形游戏! 假设有n个人按顺序站在他的面前,他们的身高分别是h[1], h[2] ... h[n],吉哥希望从中挑出一些人,让这些人形成一个新的队形,新的队形若满足以下三点要求,则就是新的完美队形: 1、挑出的人保持原队形的相对顺... 阅读全文
posted @ 2014-05-02 16:20
Oyking
阅读(354)
评论(0)
推荐(0)
摘要:
Problem Description 吉哥这几天对队形比较感兴趣。 有一天,有n个人按顺序站在他的面前,他们的身高分别是h[1], h[2] ... h[n],吉哥希望从中挑出一些人,让这些人形成一个新的队形,新的队形若满足以下三点要求,则称之为完美队形: 1、挑出的人保持他们在原队形的... 阅读全文
posted @ 2014-05-02 15:22
Oyking
阅读(300)
评论(0)
推荐(0)

浙公网安备 33010602011771号