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:怎么没有输出结果呀,以EOF结束怎么看不到结果呀

Posted by wrlcke at 2020-11-22 02:06:32 on Problem 2513
In Reply To:怎么没有输出结果呀,以EOF结束怎么看不到结果呀 Posted by:superman2006 at 2007-08-15 12:02:46
while(~scanf("%s%s",c1,c2))
或者
while(scanf("%s%s",c1,c2)!=EOF)

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