记录详情

Wrong Answer

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

信息

递交者
类型
递交
题目
6-5 矩阵的行排序
语言
C++
递交时间
2021-12-14 11:44:23
评测时间
2021-12-14 11:44:23
评测机
分数
0
总耗时
37ms
峰值内存
512.0 KiB