摘要:
Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,00 阅读全文
摘要:
八数码管Hdu 1043 The 15 puzzle has been around for over 100 years; even if you don't know it by that name, you've seen it. It is constructed with 15 slidi 阅读全文
摘要:
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fille 阅读全文
摘要:
贪心算法 c语言网 1197:发工资 输入 输入数据包含多个测试实例,每个测试实例的第一行是一个整数n(n include using namespace std; int main(){ int c[6]={100,50,10,5,2,1}; freopen("1197.txt","r",stdi 阅读全文
摘要:
Floyd最短路径 A1594 封印之门 蒜头君被暗黑军团包围在一座岛上,所有通往近卫军团的路都有暗黑军团把手。幸运的是,小岛上有一扇上古之神打造的封印之门,可以通往近卫军团,传闻至今没有人能解除封印。 封印之门上有一串文字,只包含小写字母,有 k k 种操作规则,每个规则可以把一个字符变换成另外一 阅读全文