neovim-config/test.cpp
2022-11-25 20:56:35 +08:00

25 lines
391 B
C++

#include <cstdio>
#include <iostream>
#include <istream>
#include <map>
using namespace std;
map<int, int> mp;
int tree[1000];
void build_tree(int p, int l, int r) {
int mid = (l + r) >> 1;
build_tree(p << 1, l, mid);
build_tree(p<<1|1, mid+1, r);
}
int main (int argc, char *argv[])
{
map<int, int> mp;
mp.size();
mp.size();
map<int, pair<int, int>> mp2;
}