记录详情

Wrong Answer

foo.cc: In function 'void Output(std::vector<std::vector<int> >&)':
foo.cc:26:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |  for (int i = 0; i < M.size(); i++) {
      |                  ~~^~~~~~~~~~
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 j = 0; j < M[i].size(); j++)
      |                   ~~^~~~~~~~~~~~~
foo.cc: In function 'void SortRow(std::vector<std::vector<int> >&)':
foo.cc:95:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   95 |  for (int k = 0; k < M.size(); k++) {
      |                  ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB

信息

递交者
类型
自测
题目
6-7 矩阵的行列排序
语言
C++
递交时间
2021-12-09 15:02:09
评测时间
2021-12-09 16:01:13
评测机
分数
0
总耗时
2ms
峰值内存
384.0 KiB