Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

其实不能怪我,是这样的

Posted by hawk at 2003-06-29 00:14:11 on Problem 1140
In Reply To:Re:数组长度为500时Memory Limit Exceed ,1000就通过了 Posted by:xiaomi at 2003-06-28 23:14:50
我这里不需要程序返回特定的返回值来判断是否runtime error。因此增加了判断re的难度。而你程序中申明的都是局部变量,都是属于你进程空间的,因此系统判断不出来你越界,而认为你使用的内存超出。只要你设为全局变量,你就能看到re的

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator