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 mingrui at 2009-02-20 08:32:04 on Problem 2200
提个醒
	scanf("%i",&n);
	for(caseNum=1;caseNum<=n;caseNum++){
		while(getchar()!='\n');
		for(i=0;i<5;i++){
			if(i!=0)
				getchar();
			buff=getchar();

这样子会WA
	scanf("%i",&n);
	for(caseNum=1;caseNum<=n;caseNum++){
		for(i=0;i<5;i++){
			getchar();
			buff=getchar();

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