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

因为一个sb原因,tle了好久

Posted by nepepl at 2010-11-11 19:43:40 on Problem 1185
我用res【】数组记录60个合法状态,然后每次输入m的时候
用for(num=0;res[num]<(1<<m);num++)
找到一个最小的num来进行dp,但是忘记了当m=10的时候,res数组里面所有的数都小于(1<<m)

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