摘要:
问题描述 在一条街上有n个卖菜的商店,按1至n的顺序排成一排,这些商店都卖一种蔬菜。 第一天,每个商店都自己定了一个正整数的价格。店主们希望自己的菜价和其他商店的一致,第二天,每一家商店都会根据他自己和相邻商店的价格调整自己的价格。具体的,每家商店都会将第二天的菜价设置为自己和相邻商店第一天菜价的平 阅读全文
posted @ 2019-03-12 23:24
EchoZQN
阅读(173)
评论(0)
推荐(0)
摘要:
C. Nastya Is Transposing Matrices time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Nastya 阅读全文
posted @ 2019-03-12 17:41
EchoZQN
阅读(201)
评论(0)
推荐(0)
摘要:
题目背景 大家都知道,基因可以看作一个碱基对序列。它包含了444种核苷酸,简记作A,C,G,TA,C,G,TA,C,G,T。生物学家正致力于寻找人类基因的功能,以利用于诊断疾病和发明药物。 在一个人类基因工作组的任务中,生物学家研究的是:两个基因的相似程度。因为这个研究对疾病的治疗有着非同寻常的作用 阅读全文
posted @ 2019-03-12 16:41
EchoZQN
阅读(169)
评论(0)
推荐(0)
摘要:
Yousef has a string s that is used to build a magical string w by repeating the string s infinitely many times. For example, if s = aabbb , then w = a 阅读全文
posted @ 2019-03-12 15:36
EchoZQN
阅读(205)
评论(0)
推荐(0)
摘要:
You are given an array a consisting of n integers. A subarray (l, r) from array a is defined as non-empty sequence of consecutive elements al, al + 1, 阅读全文
posted @ 2019-03-12 09:45
EchoZQN
阅读(209)
评论(0)
推荐(0)

浙公网安备 33010602011771号