0_0_32415477_16412.cpp:4:1: error: expected initializer before 'const'
const ll maxn = 1e5;
^
0_0_32415477_16412.cpp:5:7: error: 'll' does not name a type
const ll inf = 0x3f3f3f3f;
^
0_0_32415477_16412.cpp:8:5: error: 'll' does not name a type
ll ep, v, nex;
^
0_0_32415477_16412.cpp:9:13: error: expected ')' before 'a'
edge(ll a = 0, ll b = 0, ll c = 0) : ep(a), v(b), nex(c) {}
^
0_0_32415477_16412.cpp:10:4: error: 'maxn' was not declared in this scope
}e[maxn];
^
0_0_32415477_16412.cpp:11:1: error: 'll' does not name a type
ll head[maxn], tot;
^
0_0_32415477_16412.cpp:12:1: error: 'll' does not name a type
ll n, m;
^
0_0_32415477_16412.cpp:13:1: error: 'll' does not name a type
ll s, t;
^
0_0_32415477_16412.cpp:14:1: error: 'll' does not name a type
ll sum;
^
0_0_32415477_16412.cpp:16:14: error: variable or field 'addedge' declared void
void addedge(ll sp, ll ep, ll v)
^
0_0_32415477_16412.cpp:16:14: error: 'll' was not declared in this scope
0_0_32415477_16412.cpp:16:21: error: 'll' was not declared in this scope
void addedge(ll sp, ll ep, ll v)
^
0_0_32415477_16412.cpp:16:28: error: 'll' was not declared in this scope
void addedge(ll sp, ll ep, ll v)
^
0_0_32415477_16412.cpp: In function 'void init()':
0_0_32415477_16412.cpp:26:5: error: 'tot' was not declared in this scope
tot = 0;
^
0_0_32415477_16412.cpp:27:2: error: 'sum' was not declared in this scope
sum = 0;
^
0_0_32415477_16412.cpp:28:5: error: 's' was not declared in this scope
s = 0, t = m * n + 1;
^
0_0_32415477_16412.cpp:28:12: error: 't' was not declared in this scope
s = 0, t = m * n + 1;
^
0_0_32415477_16412.cpp:28:16: error: 'm' was not declared in this scope
s = 0, t = m * n + 1;
^
0_0_32415477_16412.cpp:28:20: error: 'n' was not declared in this scope
s = 0, t = m * n + 1;
^
0_0_32415477_16412.cpp:29:12: error: 'head' was not declared in this scope
memset(head, -1, sizeof(head));
^
0_0_32415477_16412.cpp: In function 'void make()':
0_0_32415477_16412.cpp:34:10: error: 'll' was not declared in this scope
for (ll i = 1; i <= n; i++)
^
0_0_32415477_16412.cpp:34:20: error: 'i' was not declared in this scope
for (ll i = 1; i <= n; i++)
^
0_0_32415477_16412.cpp:34:25: error: 'n' was not declared in this scope
for (ll i = 1; i <= n; i++)
^
0_0_32415477_16412.cpp:35:17: error: expected ';' before 'j'
for (ll j = 1; j <= m; j++)
^
0_0_32415477_16412.cpp:35:24: error: 'j' was not declared in this scope
for (ll j = 1; j <= m; j++)
^
0_0_32415477_16412.cpp:35:29: error: 'm' was not declared in this scope
for (ll j = 1; j <= m; j++)
^
0_0_32415477_16412.cpp:37:16: error: expected ';' before 'now'
ll now = (i - 1) * m + j;
^
0_0_32415477_16412.cpp:38:16: error: expected ';' before 'w'
ll w;
^
0_0_32415477_16412.cpp:39:28: error: 'w' was not declared in this scope
scanf("%lld", &w), sum += w;
^
0_0_32415477_16412.cpp:39:32: error: 'sum' was not declared in this scope
scanf("%lld", &w), sum += w;
^
0_0_32415477_16412.cpp:42:25: error: 's' was not declared in this scope
addedge(s, now, w);
^
0_0_32415477_16412.cpp:42:28: error: 'now' was not declared in this scope
addedge(s, now, w);
^
0_0_32415477_16412.cpp:42:34: error: 'addedge' was not declared in this scope
addedge(s, now, w);
^
0_0_32415477_16412.cpp:43:49: error: 'inf' was not declared in this scope
if(j < m) addedge(now, now + 1, inf);
^
0_0_32415477_16412.cpp:44:49: error: 'inf' was not declared in this scope
if(j > 1) addedge(now, now - 1, inf);
^
0_0_32415477_16412.cpp:45:49: error: 'inf' was not declared in this scope
if(i < m) addedge(now, now + m, inf);
^
0_0_32415477_16412.cpp:46:49: error: 'inf' was not declared in this scope
if(i > 1) addedge(now, now - m, inf);
^
0_0_32415477_16412.cpp:48:26: error: 'now' was not declared in this scope
else addedge(now, t, w);
^
0_0_32415477_16412.cpp:48:31: error: 't' was not declared in this scope
else addedge(now, t, w);
^
0_0_32415477_16412.cpp:48:35: error: 'addedge' was not declared in this scope
else addedge(now, t, w);
^
0_0_32415477_16412.cpp: At global scope:
0_0_32415477_16412.cpp:57:1: error: 'll' does not name a type
ll depth[maxn];
^
0_0_32415477_16412.cpp:59:10: error: 'll' was not declared in this scope
bool bfs(ll root)
^
0_0_32415477_16412.cpp:60:1: error: expected ',' or ';' before '{' token
{
^
|