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

没有啊。。附程序。。

Posted by winsweet at 2008-08-28 20:57:02 on Problem 2535
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:
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