摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2089和hdu 3555 一样,先预处理,从最高位处理。然后减去不符合要求的,就是所求的。 1 #include 2 #include 3 #include 4 #define ll int 5 using ... 阅读全文
posted @ 2014-10-21 11:17 null1019 阅读(197) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3555 1 #include 2 #include 3 #include 4 #define ll __int64 5 using namespace std; 6 7 ll dp[30][3]; 8 in... 阅读全文
posted @ 2014-10-21 10:52 null1019 阅读(133) 评论(0) 推荐(0) 编辑