摘要: GCD XORGiven an integer N, nd how many pairs (A; B) are there such that: gcd(A; B) = A xor B where1  B  A  N.Here gcd(A; B) means the greatest com... 阅读全文
posted @ 2014-04-20 23:13 ERKE 阅读(396) 评论(0) 推荐(0) 编辑
摘要: Paint the Grid AgainTime Limit:2000MSMemory Limit:65536KB64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionLeo has a grid withN×Ncells.... 阅读全文
posted @ 2014-04-20 13:13 ERKE 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Paint the Grid ReloadedTime Limit:2000MSMemory Limit:65536KB64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionLeo has a grid withNrows ... 阅读全文
posted @ 2014-04-20 10:27 ERKE 阅读(465) 评论(0) 推荐(0) 编辑