记录详情

Wrong Answer

foo.cc: In function 'std::vector<int> mul(std::vector<int>&, int)':
foo.cc:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |     for (int i = 0; i < A.size() || t; i ++ )
      |                     ~~^~~~~~~~~~
foo.cc:14:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |         if (i < A.size()) t += A[i] * b;
      |             ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 20, expect 1024. 2ms 512.0 KiB

信息

递交者
类型
自测
题目
P1023 OO6-1 高精度整数类的乘法运算
语言
C++
递交时间
2022-05-15 12:42:04
评测时间
2022-05-15 12:42:04
评测机
分数
0
总耗时
2ms
峰值内存
512.0 KiB