
位运算
文章平均质量分 78
DTL66
细节决定成败
展开
-
HDU-4825 Xor Sum 【字典树+位异或】
B - Xor SumTime Limit:1000MS Memory Limit:132768KB 64bit IO Format:%I64d & %I64u Zeus 和 Prometheus 做了一个游戏,Prometheus 给 Zeus 一个集合,集合中包含了N个正整数,随后 Prometheus 将向 Zeus 发起M次询问,每次询问中包含一个正整数 S ,之后 Z原创 2016-08-18 20:36:04 · 1116 阅读 · 0 评论 -
POJ 2115 C Looooops【Exgcd+位移(LL)】
F - C LooooopsTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu DescriptionA Compiler Mystery: We are given a C-language style for loop of type for (variable = A; variable !原创 2016-09-03 09:47:23 · 356 阅读 · 0 评论 -
LIGHT OJ-1182 - Parity 【按位与】
1182 - Parity PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBGiven an integer n, first we represent it in binary. Then we cou原创 2016-08-25 18:55:10 · 337 阅读 · 0 评论 -
Codeforces 627A XOR Equation【位运算实现加法】
A. XOR Equationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo positive integers a and b have a sum原创 2016-09-20 15:04:59 · 820 阅读 · 0 评论