/ MYOJ /

记录详情

Runtime Error

foo.cc: In function 'std::vector<int> mult(std::vector<int>&, int)':
foo.cc:12:19: 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:13:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |   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. 3ms 384.0 KiB
#2 Wrong Answer Read 2127943438-8-39-..., expect 1500619716406944.... 2ms 384.0 KiB
#3 Wrong Answer Read 2145529628-3-602..., expect 4740979667305293.... 2ms 384.0 KiB
#4 Runtime Error Segmentation fault 3ms 384.0 KiB

信息

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