记录详情

Compile Error

foo.cc: In function 'void Output(std::vector<std::vector<int> >&)':
foo.cc:6:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    6 |  for (int i = 0; i < M.size(); i++)
      |                  ~~^~~~~~~~~~
foo.cc:8:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    8 |   for (int j = 0; j < M[i].size(); j++)
      |                   ~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:38:2: error: 'Sortbyclo' was not declared in this scope; did you mean 'Sortbycol'?
   38 |  Sortbyclo(M);
      |  ^~~~~~~~~
      |  Sortbycol
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
6-6 矩阵的列排序
语言
C++
递交时间
2021-12-09 14:59:57
评测时间
2021-12-09 15:01:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes