'commit'
This commit is contained in:
25
TangDou/AcWing/SegmentTree/ZKW/Test.cpp
Normal file
25
TangDou/AcWing/SegmentTree/ZKW/Test.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#include <iostream>
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace std;
|
||||
//快读
|
||||
int read() {
|
||||
int x = 0, f = 1;
|
||||
char ch = getchar();
|
||||
while (ch < '0' || ch > '9') {
|
||||
if (ch == '-') f = -1;
|
||||
ch = getchar();
|
||||
}
|
||||
while (ch >= '0' && ch <= '9') {
|
||||
x = (x << 3) + (x << 1) + (ch ^ 48);
|
||||
ch = getchar();
|
||||
}
|
||||
return x * f;
|
||||
}
|
||||
int main() {
|
||||
int l = 1, r = 3;
|
||||
int mid = (l + r) >> 1;
|
||||
printf("%d\n", mid);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user