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 |
原来变量是要赋初值的开始写成 int ans; .... cell=.. if(cell>ans) ans=cell; 自己用VC++6.0编译的没有错误.可以提交就是WA.然后改成 int ans=0; .... cell=.. if(cell>ans) ans=cell; 就AC了.可能是初值的问题吧. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator