记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:14:14: error: 'tmp' was not declared in this scope; did you mean 'tm'?
   14 |  int o = n - tmp;
      |              ^~~
      |              tm
foo.cc:15:12: error: type '<type error>' argument given to 'delete', expected pointer
   15 |  delete(tmp);
      |            ^
foo.cc:16:10: error: type 'int' argument given to 'delete', expected pointer
   16 |  delete(n);
      |          ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
1-3 序列循环左移
语言
C++
递交时间
2022-08-09 19:00:29
评测时间
2022-08-09 19:01:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes