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

我也是while(scanf("%s",str)!=EOF)这么读数据的然后过了……

Posted by Ruby931031 at 2012-09-16 22:26:31 on Problem 1496
In Reply To:while(scanf("%s",str)!=EOF)会是WA而while(cin>>str)就AC Posted by:zentropy at 2008-02-28 17:04:59
另外同问:
为什么我在VC++6.0下,scanf要两次ctrl-z,而cin只要一次?

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