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:不会吧?你直接while(scanf("%s",s)==1)不行吗?

Posted by yjn at 2005-08-01 14:50:08 on Problem 2510
In Reply To:不会吧?你直接while(scanf("%s",s)==1)不行吗? Posted by:mostleg at 2005-08-01 14:30:28
我用的是while(scanf("%s",s)!=EOF),结果要两个^Z才能结束,平常这种情况一般输入一个^Z就结束了啊……不知道会不会对评测造成影响……

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