记录详情

Compile Error

foo.cc: In member function ‘void BigIntArray::sort()’:
foo.cc:48:13: error: no matching function for call to ‘BigIntArray::sort(std::vector<BigInt>::iterator, std::vector<BigInt>::iterator)’
   48 |         sort(arr.begin(), arr.end());
      |         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:47:10: note: candidate: ‘void BigIntArray::sort()’
   47 |     void sort() {
      |          ^~~~
foo.cc:47:10: note:   candidate expects 0 arguments, 2 provided

信息

递交者
类型
自测
语言
C++
递交时间
2024-05-05 11:41:59
评测时间
2024-05-05 11:41:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes