进制转换
yihanyifan
所谓梦想,就是永不停息的疯狂
展开
-
Solve equation(FZU 2102)
F Solve equationYou are given two positive integers A and B in Base C. For the equation:A=k*B+dWe know there always existing many non-negative pairs (k, d) that satisfy the equation abov...原创 2018-04-29 17:38:51 · 139 阅读 · 0 评论 -
位运算总结(按位与,或,异或)
按位与运算符(&)参加运算的两个数据,按二进制位进行“与”运算。运算规则:0&0=0; 0&1=0; 1&0=0; 1&1=1; 即:两位同时为“1”,结果才为“1”,否则为0例如:3&5 即 0000 0011& 0000 0101 = 00000001 因此,3&5的值得1。 另,...转载 2018-08-11 10:14:01 · 654 阅读 · 0 评论