0_0_35550230_10220.cpp:5:1: error: missing terminating ' character
constexpr LL mod = 1'000'000'007;
^
0_0_35550230_10220.cpp:5:21: error: expected ',' or ';' before '\x303030'
constexpr LL mod = 1'000'000'007;
^
0_0_35550230_10220.cpp: In function 'int fp(int)':
0_0_35550230_10220.cpp:8:9: error: 'par' was not declared in this scope
return par[u] < 0 ? u : par[u] = fp(par[u]);
^
0_0_35550230_10220.cpp: In function 'int main()':
0_0_35550230_10220.cpp:20:4: error: 'par' was not declared in this scope
par[i] = -1;
^
0_0_35550230_10220.cpp:22:4: error: 'sum' was not declared in this scope
sum[i] = p - 1;
^
0_0_35550230_10220.cpp: In lambda function:
0_0_35550230_10220.cpp:35:21: error: 'sum' was not declared in this scope
t2 = (t2 + mod - sum[u] * sum[u] % mod) % mod;
^
0_0_35550230_10220.cpp:37:32: error: 'par' was not declared in this scope
st = (st + mod - sum[u] * (-par[u] - sum[u]) % mod) % mod;
^
0_0_35550230_10220.cpp: In lambda function:
0_0_35550230_10220.cpp:41:15: error: 'sum' was not declared in this scope
t2 = (t2 + sum[u] * sum[u] % mod) % mod;
^
0_0_35550230_10220.cpp:43:26: error: 'par' was not declared in this scope
st = (st + sum[u] * (-par[u] - sum[u]) % mod) % mod;
^
0_0_35550230_10220.cpp: In function 'int main()':
0_0_35550230_10220.cpp:51:7: error: 'par' was not declared in this scope
if(par[u] < par[v]) swap(par[u], par[v]);
^
0_0_35550230_10220.cpp:54:4: error: 'par' was not declared in this scope
par[v] += par[u];
^
0_0_35550230_10220.cpp:55:4: error: 'sum' was not declared in this scope
sum[v] += sum[u];
^
|