Skip to content

Instantly share code, notes, and snippets.

#include <cstdio>
typedef long long VAL;
VAL T[262144];
int N;
void SetVal(VAL *p,int n) {//TODO:设定初始值
for (int i = 0; i < n; ++i) {
scanf("%lld",p+i);
}