/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'std::vector<int> mul(const std::vector<int>&, int)':
/in/foo.cc:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < a.size() || ad; i ++)
                  ~~^~~~~~~~~~
/in/foo.cc:23:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (i < a.size()) ad += a[i] * b;
       ~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:62:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < strlen(n); i ++ )
                  ~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 340.0 KiB

信息

递交者
类型
自测
题目
P1129 产生数
语言
C++
递交时间
2021-11-08 16:17:37
评测时间
2021-11-08 16:17:37
评测机
分数
10
总耗时
1ms
峰值内存
340.0 KiB