0_0_26767107_2609.cpp:6:10: error: 'N' was not declared in this scope
ll first[N], tot;
^
0_0_26767107_2609.cpp:7:9: error: 'N' was not declared in this scope
ll dis1[N], vis[N], dis2[N];
^
0_0_26767107_2609.cpp:7:17: error: 'N' was not declared in this scope
ll dis1[N], vis[N], dis2[N];
^
0_0_26767107_2609.cpp:7:26: error: 'N' was not declared in this scope
ll dis1[N], vis[N], dis2[N];
^
0_0_26767107_2609.cpp: In function 'void dijkstra1(ll)':
0_0_26767107_2609.cpp:58:9: error: 'dis1' was not declared in this scope
dis1[i] = inf;
^
0_0_26767107_2609.cpp:59:9: error: 'vis' was not declared in this scope
vis[i] = 0;
^
0_0_26767107_2609.cpp:61:5: error: 'dis1' was not declared in this scope
dis1[st] = 0;
^
0_0_26767107_2609.cpp:68:14: error: 'vis' was not declared in this scope
if (!vis[u.id])
^
0_0_26767107_2609.cpp:71:25: error: 'first' was not declared in this scope
for (ll i = first[u.id]; ~i; i = e[i].next)
^
0_0_26767107_2609.cpp: In function 'void dijkstra2(ll)':
0_0_26767107_2609.cpp:87:9: error: 'dis2' was not declared in this scope
dis2[i] = inf;
^
0_0_26767107_2609.cpp:88:9: error: 'vis' was not declared in this scope
vis[i] = 0;
^
0_0_26767107_2609.cpp:90:5: error: 'dis2' was not declared in this scope
dis2[st] = 0;
^
0_0_26767107_2609.cpp:97:14: error: 'vis' was not declared in this scope
if (!vis[u.id])
^
0_0_26767107_2609.cpp:100:25: error: 'first' was not declared in this scope
for (ll i = first[u.id]; ~i; i = e[i].next)
^
0_0_26767107_2609.cpp: In function 'void add_edge(ll, ll, ll)':
0_0_26767107_2609.cpp:116:19: error: 'first' was not declared in this scope
e[tot].next = first[u];
^
0_0_26767107_2609.cpp: In function 'void init()':
0_0_26767107_2609.cpp:121:9: error: 'first' was not declared in this scope
mem(first, -1);
^
0_0_26767107_2609.cpp:4:26: note: in definition of macro 'mem'
#define mem(a, b) memset(a, b, sizeof(a))
^
0_0_26767107_2609.cpp: In function 'void solve()':
0_0_26767107_2609.cpp:144:9: error: 'dis1' was not declared in this scope
dis1[i] /= 2;
^
0_0_26767107_2609.cpp:145:9: error: 'dis2' was not declared in this scope
dis2[i] /= 2;
^
0_0_26767107_2609.cpp:156:28: error: 'dis1' was not declared in this scope
if (ans == max(dis1[i], dis2[i]))
^
0_0_26767107_2609.cpp:156:37: error: 'dis2' was not declared in this scope
if (ans == max(dis1[i], dis2[i]))
^
|