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:output limit exceed ??????怎么回事?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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator