记录详情

Compile Error

foo.cc:3:9: error: 'a' was not declared in this scope
    3 | int cmd(a,b)
      |         ^
foo.cc:3:11: error: 'b' was not declared in this scope
    3 | int cmd(a,b)
      |           ^
foo.cc:3:12: error: expression list treated as compound expression in initializer [-fpermissive]
    3 | int cmd(a,b)
      |            ^
foo.cc: In function 'int main()':
foo.cc:20:21: error: 'cmd' cannot be used as a function
   20 |  cout<<cmd(a,cmd(b,c));
      |                     ^
foo.cc:20:22: error: 'cmd' cannot be used as a function
   20 |  cout<<cmd(a,cmd(b,c));
      |                      ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1006 长方体木料
语言
C++
递交时间
2022-05-17 16:09:23
评测时间
2022-05-17 16:09:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes