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 HTwood at 2013-02-27 19:24:55 on Problem 3254
1、mod 100000000
2、判断是否一行状态可行时用x and (x shl 1)<>0、!(x&x<<1)判断
3、递推边界,第1行作为边界。
4、移位时注意最低位是1<<0不是1<<1,整个程序的使用最低位相同即可。
5、m,n千万别反,否则太亏了。
6、某些情况下inline有奇怪的问题……水题少用inline

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