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:output limit exceed ??????怎么回事?

Posted by PastForever at 2009-08-05 12:23:17 on Problem 1604 and last updated at 2009-08-05 12:24:03
In Reply To:output limit exceed ??????怎么回事? Posted by:xiaoming007 at 2008-09-03 20:43:25
你这是死循环啊~~~~~~~~ -___________-|||
for(;;)
{
 scanf("%d",&m);
 //加一句:
 if (feof(stdin)) break;
 //应该就行了吧
 printf("%5d -> %d\n",m,p[m]);
}

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