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:为什么连这么简单的一道题目都错了呢?请指教~~In Reply To:Re:为什么连这么简单的一道题目都错了呢?请指教~~ Posted by:cpp050400448168 at 2005-04-14 22:54:53 if (s[0] == 'h' & n < h) h = n - 1; if (s[0] == 'l' & n > l) l = n + 1; 改为: if (s[0] == 'h' & n <= h) h = n - 1; if (s[0] == 'l' & n >=l) l = n + 1 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator