记录详情

Runtime Error

/in/foo.cc: In constructor 'Bucket::Bucket(int, int)':
/in/foo.cc:36:6: warning: 'Bucket::sizeOfBucket' will be initialized after [-Wreorder]
  int sizeOfBucket;//“桶” 的大小由数字范围决定
      ^~~~~~~~~~~~
/in/foo.cc:35:15: warning:   'BoxInBucket* Bucket::sortSeq' [-Wreorder]
  BoxInBucket *sortSeq;
               ^~~~~~~
/in/foo.cc:39:2: warning:   when initialized here [-Wreorder]
  Bucket(int maxNum, int numOfData): sizeOfBucket(maxNum), sortSeq(NULL), sizeOfSortSeq(numOfData)
  ^~~~~~
# 状态 耗时 内存占用
#1 Runtime Error terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc 13ms 15.762 MiB

信息

递交者
类型
自测
语言
C++
递交时间
2024-05-31 15:41:06
评测时间
2024-05-31 15:41:06
评测机
分数
0
总耗时
13ms
峰值内存
15.762 MiB