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 |
做做水题增强信心思路在此……先要考虑两次坐标相等的情况 对于王,输出横坐标差的绝对值与纵坐标差的绝对值的最大值 对于后,如果在同一斜线上或者同一行或者同一列上输出1否则输出2 对于车,如果在同一行上或者同一列上则输出1否则输出2 对于象,如果起点与终点的颜色不同输出Inf,如果在同一斜线上输出1否则输出2 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator