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 |
没有啊。。附程序。。In Reply To:Re:怎么会PE呢。。separated by spaces.过了的人说一下输出格式吧。。 Posted by:rush_again at 2008-08-28 20:52:35 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