Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

最简单的思路

Posted by erikajason at 2009-09-12 17:10:44 on Problem 2328
1 定义集合始点st,终点end,初始化为0,10;
2 每cin一个数字,too low 就和st比较,更新st, too high 道理一样
3 最后一个数字,看是否在这个闭区间即可。
4 还原st,end.


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator