| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
一个输入输出的问题如果题目要求在输入时,直到输入某个数为止,然后再输出,那我该怎么写呢? 例如 Sample Input: 1 4 56 34 0 //要求输入0标致输入结束 Sample Output: 2 4 53 6 现在我的做法就是给输入和输出各自一个数组,可数组终归有个数限制。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator