Welcome, Guest! Sign Up RSS

Clever Space

Saturday, 01.18.2025
Main » 2013 » November » 29

模板题,直接上代码:poj3422

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

构造luckynumber(二进制)

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

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


Code:MSE08G

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

Prob:

Ans:

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