0_0_39394800_25302.cpp:10:7: error: 'N' was not declared in this scope
10 | }edge[N];
| ^
0_0_39394800_25302.cpp:12:9: error: 'N' was not declared in this scope
12 | int vis[N];
| ^
0_0_39394800_25302.cpp:13:8: error: 'N' was not declared in this scope
13 | int id[N];
| ^
0_0_39394800_25302.cpp:14:8: error: 'N' was not declared in this scope
14 | int in[N],pre[N];
| ^
0_0_39394800_25302.cpp:14:15: error: 'N' was not declared in this scope
14 | int in[N],pre[N];
| ^
0_0_39394800_25302.cpp: In function 'int run(int, int, int)':
0_0_39394800_25302.cpp:19:13: error: 'in' was not declared in this scope; did you mean 'i'?
19 | in[i]=INF;
| ^~
| i
0_0_39394800_25302.cpp:19:19: error: 'INF' was not declared in this scope
19 | in[i]=INF;
| ^~~
0_0_39394800_25302.cpp:22:19: error: 'edge' was not declared in this scope; did you mean 'Edge'?
22 | int x=edge[i].x;
| ^~~~
| Edge
0_0_39394800_25302.cpp:24:26: error: 'in' was not declared in this scope; did you mean 'i'?
24 | if(edge[i].w<in[y] && x!=y){
| ^~
| i
0_0_39394800_25302.cpp:25:17: error: 'pre' was not declared in this scope
25 | pre[y]=x;
| ^~~
0_0_39394800_25302.cpp:36:16: error: 'in' was not declared in this scope; did you mean 'i'?
36 | if(in[i]==INF)
| ^~
| i
0_0_39394800_25302.cpp:36:23: error: 'INF' was not declared in this scope
36 | if(in[i]==INF)
| ^~~
0_0_39394800_25302.cpp:41:9: error: 'in' was not declared in this scope; did you mean 'int'?
41 | in[root]=0;
| ^~
| int
0_0_39394800_25302.cpp:42:16: error: 'id' was not declared in this scope
42 | memset(id,-1,sizeof(id));
| ^~
0_0_39394800_25302.cpp:43:16: error: 'vis' was not declared in this scope
43 | memset(vis,-1,sizeof(vis));
| ^~~
0_0_39394800_25302.cpp:50:19: error: 'pre' was not declared in this scope
50 | y=pre[y];
| ^~~
0_0_39394800_25302.cpp:54:27: error: 'pre' was not declared in this scope
54 | for(int x=pre[y];x!=y;x=pre[x])
| ^~~
0_0_39394800_25302.cpp:66:19: error: 'edge' was not declared in this scope; did you mean 'Edge'?
66 | int x=edge[i].x;
| ^~~~
| Edge
0_0_39394800_25302.cpp: In function 'int main()':
0_0_39394800_25302.cpp:85:29: error: 'edge' was not declared in this scope; did you mean 'Edge'?
85 | scanf("%d%d%d",&edge[i].x,&edge[i].y,&edge[i].w);
| ^~~~
| Edge
0_0_39394800_25302.cpp:92:13: error: 'edge' was not declared in this scope; did you mean 'Edge'?
92 | edge[i].x=0;
| ^~~~
| Edge
|