记录详情

Accepted

/in/foo.cc: In function 'std::vector<int> Mul(std::vector<int>, int, int)':
/in/foo.cc:8:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < X.size(); i++)
                  ~~^~~~~~~~~~
/in/foo.cc:10:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < X.size(); i++)
                  ~~^~~~~~~~~~
/in/foo.cc:15:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (i + 1 < X.size())
        ~~~~~~^~~~~~~~~~
/in/foo.cc: In function 'std::vector<int> H(std::vector<int>, std::vector<int>)':
/in/foo.cc:30:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < max(s.size(), in.size()); i++)
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:32:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (i < min(s.size(), in.size()))
       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:48:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < out.size(); i++)
                  ~~^~~~~~~~~~~~
/in/foo.cc:52:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if ((i + 1) < out.size())
        ~~~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 352.0 KiB
#2 Accepted 1ms 412.0 KiB
#3 Accepted 1ms 356.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 464.0 KiB

信息

递交者
类型
递交
比赛
2023 程序设计与竞赛(作业6:走向综合)
语言
C++
递交时间
2023-10-28 11:30:36
评测时间
2023-10-28 11:30:36
评测机
分数
100
总耗时
9ms
峰值内存
464.0 KiB