记录详情

Compile Error

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

信息

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