记录详情

Accepted

/in/foo.cc: In function 'void f1(std::vector<std::vector<std::vector<int> > >&, int, int, int)':
/in/foo.cc:17:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (x < A.size() - 1)   f1(A, x + 1, y, z);
       ~~^~~~~~~~~~~~~~
/in/foo.cc:19:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (y < A[0].size() - 1)  f1(A, x, y + 1, z);
       ~~^~~~~~~~~~~~~~~~~
/in/foo.cc:21:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (z < A[0][0].size() - 1) f1(A, x, y, z + 1);
       ~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void f0(std::vector<std::vector<std::vector<int> > >&)':
/in/foo.cc:27:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < A[0].size(); i++)//y
                  ~~^~~~~~~~~~~~~
/in/foo.cc:35:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < A[0].size(); i++)//y
                  ~~^~~~~~~~~~~~~
/in/foo.cc:37:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int k = 0; k < A.size(); k++)//x
                   ~~^~~~~~~~~~
/in/foo.cc:43:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int k = 0; k < A.size(); k++)//x
                  ~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:69:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < A[0].size(); i++)
                  ~~^~~~~~~~~~~~~
/in/foo.cc:73:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int k = 0; k < A.size(); k++)
                    ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 3ms 648.0 KiB
#3 Accepted 45ms 3.816 MiB
#4 Accepted 41ms 1.223 MiB

信息

递交者
类型
递交
比赛
2024春 悬赏令第九周
语言
C++
递交时间
2024-06-13 18:32:39
评测时间
2024-06-18 14:06:43
评测机
分数
100
总耗时
93ms
峰值内存
3.816 MiB