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 hawk at 2004-10-19 14:16:49 on Problem 1001
In Reply To:Re:请帮忙看看!没错,但提交时说是wrong answer! Posted by:BillStone at 2004-10-19 14:07:23
> 没有什么大的问题,你的输入控制不太符合要求,我给你改了一下:
> void main()
> {
> 	int m;
> 	char b[7]="0";
> 	while(cin.get(b,7))
> 	{
> 		if(cin.get() == '\n')
> 			return;
> 		cin>>m;
> 		deal(m,b);
> 		while(cin.get() != '\n');
> 	}
> }
> 就OK了。。。你可以试一下

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