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 |
我想这样的:第二种,你后面申明了一个很大的数组In Reply To:郁闷ing Posted by:windbells at 2004-10-24 19:32:01 所以前面的s和t越界就都在这个数组的范围里 系统就没报re了 而前者s和t一越界之后就到别的进程空间里去了,系统就报了re > #include<stdio.h> > #include<string.h> > #define Max 10000 > char s[Max],t[Max]; > int ls,lt; > 这样是RE; > > #include<stdio.h> > #include<string.h> > #define Max 10000 > char s[Max],t[Max]; > int ls,lt,arry[Max][Max]; > 这样是WA;(应该是RE的呀) > > 变量都是全局的 > why????? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator