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

new-line problem

Posted by emppu at 2007-06-12 20:32:12 on Problem 2620
Wrong:

printf("%d",cnt);
for(i=1;i<=n;++i)
	if(prt[i])
		printf("\n%d %d",a[i].left,a[i].right);



AC:

printf("%d\n",cnt);
for(i=1;i<=n;++i)
	if(prt[i])
		printf("%d %d\n",a[i].left,a[i].right);



I'm so tired...

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