Accepted

/in/foo.cc: In function 'void colsort(std::vector<std::vector<int> >&)':
/in/foo.cc:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < M[0].size(); i++) {
                  ~~^~~~~~~~~~~~~
/in/foo.cc:18:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j < M.size(); j++) {
                   ~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < M.size(); i++) {
                  ~~^~~~~~~~~~
/in/foo.cc:44:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j < M[i].size(); j++) {
                   ~~^~~~~~~~~~~~~
/in/foo.cc:48:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (i != M.size() - 1) {
       ~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 404.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 356.0 KiB
#4 Accepted 3ms 436.0 KiB
#5 Accepted 6ms 404.0 KiB

信息

递交者
类型
递交
题目
P1099 6-6 矩阵的列排序
语言
C++
递交时间
2021-12-09 15:12:40
评测时间
2021-12-09 15:12:40
评测机
分数
100
总耗时
15ms
峰值内存
436.0 KiB