记录详情

Wrong Answer

foo.cc: In member function 'bool BigIntArray::operator>(BigIntArray&)':
foo.cc:21:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   21 |   for (int i = 0; i < a.size(); i++)
      |                   ~~^~~~~~~~~~
foo.cc: In function 'std::ostream& operator<<(std::ostream&, const BigIntArray&)':
foo.cc:27:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   27 |   for (int i = 0; i < A.a.size(); i++)
      |                   ~~^~~~~~~~~~~~
foo.cc: In member function 'bool BigIntArray::operator>(BigIntArray&)':
foo.cc:24:2: warning: control reaches end of non-void function [-Wreturn-type]
   24 |  }
      |  ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4201, expect 1024. 3ms 384.0 KiB

信息

递交者
类型
自测
题目
P1025 OO6-3 高精度整数集合类的插入排序
语言
C++
递交时间
2022-05-01 21:04:51
评测时间
2022-05-01 21:04:51
评测机
分数
0
总耗时
3ms
峰值内存
384.0 KiB