记录详情

Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1005 飞越原野。(escape.1s,64MB)
题目数据
下载
语言
C++
递交时间
2021-11-30 21:51:43
评测时间
2021-11-30 21:51:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes