/in/foo.cc:15:25: error: 'edge' does not name a type
bool operator < (const edge &x) const
^~~~
/in/foo.cc: In member function 'bool Node::operator<(const int&) const':
/in/foo.cc:17:10: error: 'c' was not declared in this scope
return c<x.c;
^
/in/foo.cc:17:14: error: request for member 'c' in 'x', which is of non-class type 'const int'
return c<x.c;
^
/in/foo.cc: In function 'bool cmp(const Node&, const Node&)':
/in/foo.cc:22:15: error: expected unqualified-id before '<' token
return(a.z<b.<z);
^
/in/foo.cc:22:16: error: 'z' was not declared in this scope
return(a.z<b.<z);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&n);
^
/in/foo.cc:40:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d%d",&x,&y,&z);
^
/in/foo.cc:40:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:40:26: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]