洛谷P1253_扶苏的问题
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
const ll inf = 1e18;
template < typename T, auto op, auto e, typename F, auto mapping, auto composition,
auto e1 >
class segtree
{
int n;
vector< T > v;
vector< F > l
more...