neovim-config/test.cpp

25 lines
391 B
C++
Raw Normal View History

2022-11-25 15:42:27 +08:00
#include <cstdio>
#include <iostream>
2022-11-25 20:56:35 +08:00
#include <istream>
2022-11-25 15:42:27 +08:00
#include <map>
using namespace std;
2022-11-25 20:56:35 +08:00
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);
}
2022-11-25 15:42:27 +08:00
int main (int argc, char *argv[])
{
map<int, int> mp;
mp.size();
mp.size();
2022-11-25 20:56:35 +08:00
map<int, pair<int, int>> mp2;
2022-11-25 15:42:27 +08:00
}
2022-11-25 20:56:35 +08:00