0_0_36164711_14441.cpp:4:15: error: unable to find numeric literal operator 'operator""Q054'
const int N = 80Q054, mod = 10000G0007;
^
0_0_36164711_14441.cpp:4:15: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_36164711_14441.cpp:7:15: error: expected unqualified-id before numeric constant
int u, v; 11 w;
^
0_0_36164711_14441.cpp:8:35: error: expected identifier before numeric constant
edge (int u0 = 0, int v0 = G, 11 wG = 0) : u(u0), v(vO), w(wQ) {}
^
0_0_36164711_14441.cpp:8:35: error: expected ',' or '...' before numeric constant
0_0_36164711_14441.cpp:8:32: error: 'G' was not declared in this scope
edge (int u0 = 0, int v0 = G, 11 wG = 0) : u(u0), v(vO), w(wQ) {}
^
0_0_36164711_14441.cpp:8:5: error: default argument missing for parameter 3 of 'edge::edge(int, int, int)'
edge (int u0 = 0, int v0 = G, 11 wG = 0) : u(u0), v(vO), w(wQ) {}
^
0_0_36164711_14441.cpp: In constructor 'edge::edge(int, int, int)':
0_0_36164711_14441.cpp:8:57: error: 'vO' was not declared in this scope
edge (int u0 = 0, int v0 = G, 11 wG = 0) : u(u0), v(vO), w(wQ) {}
^
0_0_36164711_14441.cpp:8:62: error: class 'edge' does not have any field named 'w'
edge (int u0 = 0, int v0 = G, 11 wG = 0) : u(u0), v(vO), w(wQ) {}
^
0_0_36164711_14441.cpp:8:64: error: 'wQ' was not declared in this scope
edge (int u0 = 0, int v0 = G, 11 wG = 0) : u(u0), v(vO), w(wQ) {}
^
0_0_36164711_14441.cpp: At global scope:
0_0_36164711_14441.cpp:12:19: error: size of array 'cyc' is not an integral constant-expression
int cyc_cnt, cyc[N];
^
0_0_36164711_14441.cpp:13:1: error: expected unqualified-id before numeric constant
11 len[N], dis[N];
^
0_0_36164711_14441.cpp:18:13: error: size of array 'e' is not an integral constant-expression
edge e[N];
^
0_0_36164711_14441.cpp:18:13: error: call to 'edge::edge(int, int, int)' uses the default argument for parameter 2, which is not yet defined
0_0_36164711_14441.cpp:20:16: error: size of array 'first' is not an integral constant-expression
int first[N], next[N];
^
0_0_36164711_14441.cpp:20:25: error: size of array 'next' is not an integral constant-expression
int first[N], next[N];
^
0_0_36164711_14441.cpp:21:12: error: size of array 'p' is not an integral constant-expression
int p[N], size[N];
^
0_0_36164711_14441.cpp:21:21: error: size of array 'size' is not an integral constant-expression
int p[N], size[N];
^
0_0_36164711_14441.cpp:22:5: error: expected unqualified-id before numeric constant
11 dep[N], f[N];
^
0_0_36164711_14441.cpp: In function 'void Tree::init(int)':
0_0_36164711_14441.cpp:25:14: error: '_Sf' was not declared in this scope
V = _Sf E = 0, memset(first, 6, (V + 1) << 2);
^
0_0_36164711_14441.cpp:26:9: error: 'f' was not declared in this scope
f[l] = dep[l] = p[l] = 0;
^
0_0_36164711_14441.cpp:26:11: error: 'l' was not declared in this scope
f[l] = dep[l] = p[l] = 0;
^
0_0_36164711_14441.cpp:26:16: error: 'dep' was not declared in this scope
f[l] = dep[l] = p[l] = 0;
^
0_0_36164711_14441.cpp: At global scope:
0_0_36164711_14441.cpp:29:39: error: 'H' has not been declared
inline void addedge(int u, int v, H w) {e[++E] = edge(u, v, w), next[E] = first[u], first[u] = E;}
^
0_0_36164711_14441.cpp: In function 'void Tree::dfs(int)':
0_0_36164711_14441.cpp:33:33: error: 'f' was not declared in this scope
if (size[x] = (x <= n)) f[i] += dep[x];
^
0_0_36164711_14441.cpp:33:41: error: 'dep' was not declared in this scope
if (size[x] = (x <= n)) f[i] += dep[x];
^
0_0_36164711_14441.cpp:35:33: error: 'dep' was not declared in this scope
p[y = e[i].v] = x, dep[y] = dep[x] + e[i].w, dfs(y), size[x] += size[y];
^
0_0_36164711_14441.cpp:35:56: error: 'struct edge' has no member named 'w'
p[y = e[i].v] = x, dep[y] = dep[x] + e[i].w, dfs(y), size[x] += size[y];
^
0_0_36164711_14441.cpp: At global scope:
0_0_36164711_14441.cpp:38:14: error: size of array 'Cyc' is not an integral constant-expression
int Cyc[N];
^
0_0_36164711_14441.cpp:39:5: error: expected unqualified-id before numeric constant
11 Sl[N], S2[N]f we[N];
^
0_0_36164711_14441.cpp:41:5: error: 'inLine' does not name a type
inLine LL summing(int l, int r, LL coel, LI coe2) {return coel * (Sl[r] - S1[1 - 1]) + coe2 * (S2[r] - S2[1 - l]);}
^
0_0_36164711_14441.cpp: In function 'void Tree::trans(int)':
0_0_36164711_14441.cpp:44:16: error: expected unqualified-id before numeric constant
int i, 1, r, y, L = 0; LL mend = 0, clen;
^
0_0_36164711_14441.cpp:47:18: error: 'y' was not declared in this scope
y = e[i].v, f[y] = f[x] + e[i].w * (n - 2 * size[y]), trans(y);
^
0_0_36164711_14441.cpp:47:30: error: 'f' was not declared in this scope
y = e[i].v, f[y] = f[x] + e[i].w * (n - 2 * size[y]), trans(y);
^
0_0_36164711_14441.cpp:47:49: error: 'struct edge' has no member named 'w'
y = e[i].v, f[y] = f[x] + e[i].w * (n - 2 * size[y]), trans(y);
^
0_0_36164711_14441.cpp:49:21: error: 'len' was not declared in this scope
clen = len[x - n];
^
0_0_36164711_14441.cpp:50:51: error: 'L' was not declared in this scope
for (i = first[x]; i; i = next[i], ++L)
^
0_0_36164711_14441.cpp:51:35: error: 'we' was not declared in this scope
Cyc[L] = e[i].v, we[L] = e[i].w, mend += we[L] * size[Cyc[L]];
^
0_0_36164711_14441.cpp:51:48: error: 'struct edge' has no member named 'w'
Cyc[L] = e[i].v, we[L] = e[i].w, mend += we[L] * size[Cyc[L]];
^
0_0_36164711_14441.cpp:52:38: error: 'L' was not declared in this scope
std::reverse(Cyc, Cyc + L), std::reverse(we, we + L);
^
0_0_36164711_14441.cpp:52:55: error: 'we' was not declared in this scope
std::reverse(Cyc, Cyc + L), std::reverse(we, we + L);
^
0_0_36164711_14441.cpp:54:18: error: 'Sl' was not declared in this scope
Sl[i + 1] = Sl[i] + size[Cyc[iJ],
^
0_0_36164711_14441.cpp:54:47: error: 'iJ' was not declared in this scope
Sl[i + 1] = Sl[i] + size[Cyc[iJ],
^
0_0_36164711_14441.cpp:55:18: error: 'S2' was not declared in this scope
S2[i + 1] = S2[i] + dis[Cyc[i]J * size[Cyc[i]];
^
0_0_36164711_14441.cpp:55:38: error: 'dis' was not declared in this scope
S2[i + 1] = S2[i] + dis[Cyc[i]J * size[Cyc[i]];
^
0_0_36164711_14441.cpp:55:48: error: expected ']' before 'J'
S2[i + 1] = S2[i] + dis[Cyc[i]J * size[Cyc[i]];
^
0_0_36164711_14441.cpp:55:48: error: expected ']' before 'J'
0_0_36164711_14441.cpp:56:14: error: 'l' was not declared in this scope
l = 0, r = l;
^
0_0_36164711_14441.cpp:56:21: error: 'r' was not declared in this scope
l = 0, r = l;
^
0_0_36164711_14441.cpp:58:18: error: 'y' was not declared in this scope
y = Cyc[i - 1], f[y] = f[x] - mend + we[i - 1] * (n - size[x]);
^
0_0_36164711_14441.cpp:58:34: error: 'f' was not declared in this scope
y = Cyc[i - 1], f[y] = f[x] - mend + we[i - 1] * (n - size[x]);
^
0_0_36164711_14441.cpp:59:41: error: 'dis' was not declared in this scope
for (; !1 || (l < i && dis[y] - dis[Cyc[l - l]] > clen / 2); ++l); --1;
^
0_0_36164711_14441.cpp:59:87: error: lvalue required as decrement operand
for (; !1 || (l < i && dis[y] - dis[Cyc[l - l]] > clen / 2); ++l); --1;
^
0_0_36164711_14441.cpp:60:35: error: 'dis' was not declared in this scope
for (; r <= L && dis[Cyc[r - l]] - dis[y] <= clen / 2; ++r); --r;
^
0_0_36164711_14441.cpp:62:47: error: 'dis' was not declared in this scope
f[y] += summing(l, l, clen - dis[y], l);
^
0_0_36164711_14441.cpp:62:56: error: 'summing' was not declared in this scope
f[y] += summing(l, l, clen - dis[y], l);
^
0_0_36164711_14441.cpp: At global scope:
0_0_36164711_14441.cpp:76:13: error: expected ')' before ']' t
|