0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:10: error: 'bits' was not declared in this scope
1 | include <bits/stdc++.h>
| ^~~~
0_0_39517480_11173.cpp:1:15: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include <bits/stdc++.h>
| ^~~~
| std
0_0_39517480_11173.cpp:1:1: error: 'include' does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
0_0_39517480_11173.cpp: In function 'void bfs(int)':
0_0_39517480_11173.cpp:33:5: error: 'queue' was not declared in this scope
33 | queue <int> q;
| ^~~~~
0_0_39517480_11173.cpp:33:12: error: expected primary-expression before 'int'
33 | queue <int> q;
| ^~~
0_0_39517480_11173.cpp:36:5: error: 'q' was not declared in this scope
36 | q.push(x);
| ^
0_0_39517480_11173.cpp: In function 'int lca(int, int)':
0_0_39517480_11173.cpp:63:9: error: 'swap' was not declared in this scope
63 | swap(x,y);
| ^~~~
0_0_39517480_11173.cpp: In function 'void init()':
0_0_39517480_11173.cpp:84:5: error: 'memset' was not declared in this scope
84 | memset(head,-1,sizeof(head));
| ^~~~~~
0_0_39517480_11173.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | include <bits/stdc++.h>
0_0_39517480_11173.cpp: In function 'int main()':
0_0_39517480_11173.cpp:97:12: error: 'scanf' was not declared in this scope
97 | while(~scanf("%d %d %d",&n,&m,&c))
| ^~~~~
0_0_39517480_11173.cpp:121:17: error: 'printf' was not declared in this scope
121 | printf("Not connected\n");
| ^~~~~~
0_0_39517480_11173.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | include <bits/stdc++.h>
0_0_39517480_11173.cpp:123:17: error: 'printf' was not declared in this scope
123 | printf("%lld\n",dist[x]+dist[y]-2*dist[lca(x,y)]);
| ^~~~~~
0_0_39517480_11173.cpp:123:17: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_39517480_11173.cpp:126:14: error: expected '}' at end of input
126 | return 0;
| ^
0_0_39517480_11173.cpp:95:1: note: to match this '{'
95 | {
| ^
|