摘要:
题目有很多图,不好粘贴。。。。。 题意:给出N个数和K1,K2的值,最开始指针指向第一个数,有6种操作 add x : 给前K2个数都增加x reverse : 翻转前K1个数 insert x : 在所指的数右边(顺时针)插入一个数 delete x : 删除指针所指的这个数,并且指针向右移(顺时 阅读全文
摘要:
Partychen invents a new game named “Eleven Puzzle” .Just like the classic game “Eight Puzzle”,but there some difference between them:The shape of the 阅读全文