源码类注释
/*** This class provides thread-local variables. These variables differ from* their normal counterparts in that each thread that accesses one (via its* {code get} or {code set} method) has its own, independently initialized* copy of the variab…
H
一开始以为考后缀和,耽误了一会。后面直接看样例猜结论,数字乘位置为对答案的贡献
#include<bits/stdc.h>using namespace std;#define int long long
#define PII pair<int,int>const int M1000000007;void solve()
{int n;cin>>…