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

Re:求教?我们验证过数据啊。

Posted by love8909 at 2008-10-26 23:15:29
In Reply To:求教?我们验证过数据啊。 Posted by:ACM06Louty at 2008-10-26 22:58:53
写了个
char nextChar()
{
	char ch;
	while (ch = getchar(), !((ch >= 'A' && ch <= 'Z') || ch == '.'));
	return ch;
}
这样读入一直TLE,后来改成scanf先读到数组里放着,再一个一个取,过掉了,很困惑

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