记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:32:49: warning: narrowing conversion of 'x1' from 'double' to 'int' [-Wnarrowing]
   32 |         result1 = Mul(result1, std::vector<int>{x1});
      |                                                 ^~
foo.cc:32:49: warning: narrowing conversion of 'x1' from 'double' to 'int' [-Wnarrowing]
foo.cc:35:49: warning: narrowing conversion of 'x2' from 'double' to 'int' [-Wnarrowing]
   35 |         result2 = Mul(result2, std::vector<int>{x2});
      |                                                 ^~
foo.cc:35:49: warning: narrowing conversion of 'x2' from 'double' to 'int' [-Wnarrowing]
foo.cc:38:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   38 |     for (int i = 0; i < product.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 332.0 KiB
#2 Accepted 5ms 412.0 KiB
#3 Wrong Answer 0a1 > 594189826642896974678197 3ms 284.0 KiB
#4 Wrong Answer Read -125775670-2-9-9..., expect 2131375077018650.... 4ms 412.0 KiB
#5 Wrong Answer 0a1 > 102400000000000000000000 3ms 284.0 KiB

信息

递交者
类型
递交
题目
A11-4 高精度整数之间的乘法
比赛
2023 程序设计与竞赛(作业7:最初的综合)
语言
C++
递交时间
2023-11-11 19:19:34
评测时间
2023-11-11 19:19:34
评测机
分数
40
总耗时
21ms
峰值内存
412.0 KiB