Welcome, Guest! Sign Up RSS

Clever Space

Friday, 11.22.2024
Main » 2013 » November » 29

模板题,直接上代码:poj3422

Views: 342 | Added by: dhy0077 | Date: 11.29.2013

构造luckynumber(二进制)

然后直接dfs发现very lucky number很少,然后去重

对于每个询问二分查表即可


Code:MSE08G

Views: 594 | Added by: dhy0077 | Date: 11.29.2013

Prob:

Ans:

Views: 270 | Added by: dhy0077 | Date: 11.29.2013