记录详情

Runtime Error

foo.cc: In member function 'void Array::Add(int)':
foo.cc:24:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   24 |                 else
      |                 ^~~~
foo.cc:25:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   25 |                         tail->next = newn;      tail = newn;
      |                                                 ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 5ms 412.0 KiB
#2 Accepted 5ms 412.0 KiB
#3 Runtime Error Segmentation fault 4ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 2ms 412.0 KiB

信息

递交者
类型
递交
题目
P1418 3 数组类+有序插入
比赛
2023春面向对象的程序设计方法实验(课程考试)
语言
C++
递交时间
2023-06-20 08:58:54
评测时间
2023-06-20 08:58:54
评测机
分数
60
总耗时
22ms
峰值内存
412.0 KiB