/ Vijos /

记录详情

Accepted

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

信息

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