0_0_28179168_1746.cpp:16:7: error: stray '#' in program
}a#include <bits/stdc++.h>
^
0_0_28179168_1746.cpp:16:6: error: 'a' does not name a type
}a#include <bits/stdc++.h>
^
0_0_28179168_1746.cpp:23:8: error: 'edge::edge' has the same name as the class in which it is declared
struct edge {
^
0_0_28179168_1746.cpp: In member function 'int edge::main()':
0_0_28179168_1746.cpp:74:39: error: request for member 'u' in '((edge*)this)->edge::egs[i]', which is of non-class type 'int'
scanf("%d %d %d", &egs[i].u, &egs[i].v, &egs[i].w);
^
0_0_28179168_1746.cpp:74:50: error: request for member 'v' in '((edge*)this)->edge::egs[i]', which is of non-class type 'int'
scanf("%d %d %d", &egs[i].u, &egs[i].v, &egs[i].w);
^
0_0_28179168_1746.cpp:74:61: error: request for member 'w' in '((edge*)this)->edge::egs[i]', which is of non-class type 'int'
scanf("%d %d %d", &egs[i].u, &egs[i].v, &egs[i].w);
^
0_0_28179168_1746.cpp:83:24: error: request for member 'w' in '((edge*)this)->edge::egs[i]', which is of non-class type 'int'
if (egs[i].w > qs[cnt].lim) {
^
0_0_28179168_1746.cpp:88:26: error: request for member 'u' in '((edge*)this)->edge::egs[i]', which is of non-class type 'int'
merge(egs[i].u, egs[i].v);
^
0_0_28179168_1746.cpp:88:36: error: request for member 'v' in '((edge*)this)->edge::egs[i]', which is of non-class type 'int'
merge(egs[i].u, egs[i].v);
^
|