摘要: Background To The Moon is a independent game released in November 2011, it is a role-playing adventure game powered by RPG Maker. The premis... 阅读全文
posted @ 2017-09-19 21:18 黑码的博客 阅读(127) 评论(0) 推荐(0) 编辑
摘要: On the way to the next secret treasure hiding place, the mathematician discovered a cave unknown to the map. The mathematician entered the cav... 阅读全文
posted @ 2017-09-19 21:18 黑码的博客 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/cysjiang/article/details/76090902题意: 给你一个a序列,代表0到n-1的排列;一个b序列代表0到m-1的排列。问你可以找出多少种函数关系,满足f(i)=b[f(a[i])]; 分析:这个主要是找循环... 阅读全文
posted @ 2017-09-19 21:18 黑码的博客 阅读(97) 评论(0) 推荐(0) 编辑
摘要: There is a tree with nn nodes, each of which has a type of color represented by an integer, where the color of node ii is cici. The path betwe... 阅读全文
posted @ 2017-09-19 21:18 黑码的博客 阅读(110) 评论(0) 推荐(0) 编辑
摘要: sd0061, the legend of Beihang University ACM-ICPC Team, retired last year leaving a group of noobs. Noobs have no idea how to deal with mm com... 阅读全文
posted @ 2017-09-19 21:18 黑码的博客 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 题意:有n个区间,对于第i个区间[li,ri]有liusing namespace std;namespace IO { const int MX = 4e7; //1e7占用内存11000kb char buf[MX]; int c, sz; void... 阅读全文
posted @ 2017-09-19 21:18 黑码的博客 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 题意:我们定义d(a,b)为a通过乘除最少的素数到达b。比如d(15,50)=3,15*2*5/3=50。我们定义3个操作和一个空的集合s:I x表示在集合s里插入一个x,如果存在x,忽略这个操作。D x表示在集合x里删除x,如果不存在x,忽略这个操作。Q x找到最小的z集合里面存在一个y,使得d(... 阅读全文
posted @ 2017-09-19 21:17 黑码的博客 阅读(123) 评论(0) 推荐(0) 编辑
摘要: There are n villages along a high way, and divided the high way into n-1 segments. Each segment would charge a certain amount of money for bei... 阅读全文
posted @ 2017-09-19 21:17 黑码的博客 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 时间限制:15000ms 单点时限:3000ms 内存限制:512MB 描述小Hi平时的一大兴趣爱好就是演奏钢琴。我们知道一段音乐旋律可以被表示为一段数构成的数列。神奇的是小Hi发现了一部名字叫《十进制进行曲大全》的作品集,顾名思义,这部作品集里有许多作品,但是所有的作品有一个共同特... 阅读全文
posted @ 2017-09-19 21:17 黑码的博客 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 描述小Hi平时的一大兴趣爱好就是演奏钢琴。我们知道一个音乐旋律被表示为一段数构成的数列。现在小Hi想知道一部作品中所有长度为K的旋律中出现次数最多的旋律的出现次数。但是K不是固定的,小Hi想知道对于所有的K的答案。解题方法提示输入共一行,包含一个由小写字母构成的字符串S。字符串长度不... 阅读全文
posted @ 2017-09-19 21:17 黑码的博客 阅读(93) 评论(0) 推荐(0) 编辑