foo.cc: In function 'int main()':
foo.cc:42:4: error: 'struct Que' has no member named 'a'
q.a[q.tail++]=a;
^
foo.cc:46:12: error: 'struct Que' has no member named 'a'
Node b=q.a[q.head++];
^
foo.cc:64:10: error: 'struct Que' has no member named 'a'
q.a[q.tail++]=c;
^
foo.cc:71:9: error: request for member 'x' in 'd', which is of non-class type 'int'
dx=d.x+dis1[i][0]*j;
^
foo.cc:71:22: error: 'j' was not declared in this scope
dx=d.x+dis1[i][0]*j;
^
foo.cc:72:9: error: request for member 'y' in 'd', which is of non-class type 'int'
dy=d.y+dis1[i][1]*j;
^
foo.cc:78:10: error: 'struct Que' has no member named 'a'
q.a[q.tail++]=c;
^
foo.cc:88:2: error: expected ';' before 'return'
return 0;
^~~~~~
[Hydro](https://hydro.ac)提供评测服务