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 |
比如这样呢?(+)In Reply To:cin就if(!cin)成真的时候表示结束了,scanf就判断返回值 Posted by:hawk at 2005-02-03 16:20:50 有n个testcase,而最后一个testcase后用^Z(结束符)结尾。但结束符直接跟在一个数字后面,比如 12 34 56 78^Z 这时,最后一个整数好像不能用cin>>number读入。 请指教! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator