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 zgw122103119 at 2011-10-13 00:07:05 on Problem 1067
In Reply To:这道题的输入怎么终止? Posted by:michaelalan at 2011-10-10 23:17:57
不晓得你用的C还是pascal。。。pascal的话循环时可以用eof,比如:
while not eof do 
 begin
 read(a,b);
  ........
  ........
  ........
 end;

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