基础
darge.
.
展开
-
2019 多校第二场 HDU 6600
题目链接:>_> 题目: Just Skip The Problem Y_UME has just found a number x in his right pocket. The number is a non-negative integer ranging from 0 to 2n−1 inclusively. You want to know the exact value ...原创 2019-10-30 20:22:23 · 117 阅读 · 0 评论 -
快读快写模板
模板代码 #include<bits/stdc++.h> using namespace std; inline int read(){ int X = 0, F = 1; char C = getchar(); while (C < '0' || C>'9'){ if (C == '-'){ F = -1; } C = getchar(); } ...原创 2019-10-30 19:31:07 · 692 阅读 · 5 评论 -
位运算
&规定两对应位都为1则为1,否则为0 |规定两对应位其中有1则为1,否则0 ^规定两对应位相同则为0,不同为1 ~规定两对应位按位求补 <<将二进制数按指定左移几位,移掉的省略,右边缺失的位,用0补齐 >>将二进制数按指定右移几位,移掉的省略,左边缺失的位,(该数是正数)用0补齐,(该数是负数)用1补齐 >>>将二进制数按指定...原创 2019-08-27 16:20:01 · 69 阅读 · 1 评论