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 |
没有必要用二维数组做,直接考虑循环输出就可以了可以把输入的字符串看做是二维数组,再分作m/n/2次循环输出,每次输出两个上下相邻的数,然后再考虑下m/n%2!=0的情况就可以了,没有必要把它转换成二维数组! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator