摘要: 小t非常感谢大家帮忙解决了他的上一个问题。然而病毒侵袭持续中。在小t的不懈努力下,他发现了网路中的“万恶之源”。这是一个庞大的病毒网站,他有着好多好多的病毒,但是这个网站包含的病毒很奇怪,这些病毒的特征码很短,而且只包含“英文大写字符”。当然小t好想好想为民除害,但是小t从来不打没有准备的战争。知己 阅读全文
posted @ 2018-08-15 20:22 StarHai 阅读(289) 评论(0) 推荐(0) 编辑
摘要: You are in a cave, a long cave! The cave can be represented by a 1 x N grid. Each cell of the cave can contain any amount of gold. Initially you are i 阅读全文
posted @ 2018-08-15 20:15 StarHai 阅读(145) 评论(0) 推荐(0) 编辑
摘要: You are in a maze; seeing n doors in front of you in beginning. You can choose any door you like. The probability for choosing a door is equal for all 阅读全文
posted @ 2018-08-15 20:13 StarHai 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6356 Glad You Game Steve has an integer array aa of length nn (1-based). He assigned all the elements a 阅读全文
posted @ 2018-08-15 16:52 StarHai 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6315 In a galaxy far, far away, there are two integer sequence a and b of length n. b is a static permu 阅读全文
posted @ 2018-08-15 15:01 StarHai 阅读(299) 评论(0) 推荐(0) 编辑
摘要: You are given an array aa consisting of nn integers, and qq queries to it. ii-th query is denoted by two integers lili and riri. For each query, you h 阅读全文
posted @ 2018-08-15 12:20 StarHai 阅读(352) 评论(0) 推荐(0) 编辑