记录详情

Wrong Answer

/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:70:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < A[0].size(); i++)
                  ~~^~~~~~~~~~~~~
/in/foo.cc:74:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int k = 0; k < A.size(); k++)
                    ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 396.0 KiB
#2 Accepted 2ms 344.0 KiB

信息

递交者
类型
自测
语言
C++
递交时间
2024-06-13 18:29:38
评测时间
2024-06-13 18:29:38
评测机
分数
10
总耗时
4ms
峰值内存
396.0 KiB