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

做完一个就输出一个,不需要保存

Posted by hawk at 2005-08-12 11:27:50
In Reply To:一个输入输出的问题 Posted by:speedfirst at 2005-08-12 11:24:25
> 如果题目要求在输入时,直到输入某个数为止,然后再输出,那我该怎么写呢?
> 例如
> Sample Input:
> 1
> 4
> 56
> 34
> 0                 //要求输入0标致输入结束
> 
> Sample Output:
> 2
> 4
> 53
> 6
> 
> 现在我的做法就是给输入和输出各自一个数组,可数组终归有个数限制。

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