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

eof是文件结束的意思,而不是由eof这样的字符串

Posted by hawk at 2003-12-06 18:20:08 on Problem 1001
In Reply To:Re:EOF标志结束 Posted by:FinalLaugh at 2003-12-06 17:57:28
是对于有多组数据的情况,由于不知道几组,所以读到文件结束为止
对于有些知道几组的,直接读几组就是了,不用管其他的
如果不知道怎么判文件结束,这是和语言相关的,自己找资料看看吧
> 是在最后一行有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