/ MYOJ /

记录详情

Runtime Error

foo.cc: In function 'std::vector<int> mul(std::vector<int>&, int)':
foo.cc:14:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |  for (int i = 0; i < A.size() || t; i ++ )
      |                  ~~^~~~~~~~~~
foo.cc:16:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   16 |   if (i < A.size()) t += A[i] * b;
      |       ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1-9-5-2-2-5-6-1..., expect 1605851301319192260. 5ms 384.0 KiB
#2 Wrong Answer Read 2127943438-8-39-..., expect 1500619716406944.... 3ms 384.0 KiB
#3 Wrong Answer Read 2145529628-3-602..., expect 4740979667305293.... 2ms 380.0 KiB
#4 Runtime Error Segmentation fault 4ms 460.0 KiB

信息

递交者
类型
递交
题目
P1022 [7FOJ]高精度乘法
语言
C++
递交时间
2022-06-18 16:02:58
评测时间
2022-06-18 16:02:58
评测机
分数
0
总耗时
16ms
峰值内存
460.0 KiB