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 |
知道了。。忘了写Break...In Reply To:没有啊。。附程序。。 Posted by:winsweet at 2008-08-28 20:57:02 > pp=false; > for (i=0;i<p;i++) if (num[i]>n/2&&!hard[i]) {pp=true;printf("%d",i+1);} > for (;i<p;i++) if (num[i]>n/2&&!hard[i]) printf(" %d",i+1); > if (!pp) printf("0"); > printf("\n"); Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator