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

Re:请高手指点,什么叫做 Runtime Error 这是我的代码

Posted by sillygirlt3 at 2010-07-26 08:46:28 on Problem 1011
In Reply To:请高手指点,什么叫做 Runtime Error 这是我的代码 Posted by:fantasyorg at 2007-06-10 13:30:36
> 
> 	while (1)
> 	{
> 		cin >> num[j];
> 		if (num[j] == 0)
> 			break;
> 		for (int i = 0; i < num[j]; i ++)
> 		{
> 			cin >> a[j][i];
> 			total[j] += a[j][i];
> 			if (a[j][i] > max[j])
> 				max[j] = a[j][i];
> 		}
> 		j ++;
> 	}
> 
> 这里死循环了吧

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