Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
请问这个题目的判断方法对吗对于n*m的矩阵(n行m列),两个格局可以互相转换当且仅当,将空格用0代替以后: a. 若两格局中0的距离为偶数,两者的逆序数的奇偶性相同。 b. 若两格局中0的距离为奇数,两者的逆序数的奇偶性相异。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator