记录详情

Accepted

In function 'int carryOn(int*, int)',
    inlined from 'int mulHighPrecision(int*, int, int*, int, int*)' at foo.cc:66:25:
foo.cc:36:22: warning: 'maxLen' may be used uninitialized [-Wmaybe-uninitialized]
   36 |     while (pos < len || carry != 0)
      |            ~~~~~~~~~~^~~~~~~~~~~~~
foo.cc: In function 'int mulHighPrecision(int*, int, int*, int, int*)':
foo.cc:54:9: note: 'maxLen' was declared here
   54 |     int maxLen;
      |         ^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 332.0 KiB
#2 Accepted 2ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 5ms 412.0 KiB
#5 Accepted 5ms 412.0 KiB

信息

递交者
类型
递交
题目
A11-3 高精度整数的加法
比赛
2023 程序设计与竞赛(作业6:走向综合)
语言
C++
递交时间
2023-10-28 18:23:45
评测时间
2023-10-28 18:23:45
评测机
分数
100
总耗时
22ms
峰值内存
412.0 KiB