| ||||||||||
| 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:请高手指点,什么叫做 Runtime Error 这是我的代码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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator