/ Vijos /

记录详情

Wrong Answer

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 Wrong Answer Read 12, expect 9. 1ms 384.0 KiB
#2 Wrong Answer Read 1296, expect 256. 1ms 400.0 KiB
#3 Wrong Answer Read 3486784401, expect 1048576. 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Wrong Answer Read 9451776600000000..., expect 3427648537559040.... 1ms 384.0 KiB

信息

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