记录详情

Compile Error

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

信息

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