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 |
Re:为什么在ZJU能过,在PKU过不了??In Reply To:Re:为什么在ZJU能过,在PKU过不了?? Posted by:wrong123 at 2006-01-08 19:34:02 > 使用这样的读入字符串:for(i=0;i<row;i++) scanf("%s",image[i]); > > 你字符数组就开了20个长度, 能读到最后一个i = 20的么? 把字符数组的第二维 长度 + 1 char image[20][21]; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator