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 |
没有啊,我还是while(cin>>a)判断结束啊。In Reply To:Re:我觉得这个有两个地方需要注意,一是test case有多个,而是输入的结束符是文件结束符,cin.eof()可以作为判断输入是否结束 Posted by:kakassi at 2009-08-25 14:50:22 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator