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 |
Re:how to judge the input is over?In Reply To:how to judge the input is over? Posted by:buffonzeng at 2005-03-10 16:20:49 int a; if(scanf("%d",&a)==EOF) { return 0; } cin >> a; if(cin.eof()) { return 0; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator