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 tfaylsh at 2007-12-22 12:52:54 on Problem 2328
1.初始化的时候min=0;max=11;
2.if(s2=="high" && to>n)
  if(s2=="low" && from<n)
  必须把条件都标好啊,如果直接else会有问题,
  测试数据中可能有垃圾的非"too high""too low""right on"的信息;
3.不要用getline;可能有错!

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