记录详情

Runtime Error

/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:24:13: warning: 'bi.BigInt::value' may be used uninitialized in this function [-Wmaybe-uninitialized]
    value[0] = 0;
    ~~~~~~~~~^~~
/in/foo.cc:225:9: note: 'bi.BigInt::value' was declared here
  BigInt bi(x), ans(1);
         ^~
/in/foo.cc:29:20: warning: 'ans.BigInt::value' is used uninitialized in this function [-Wuninitialized]
    value[bitNum++] = x % 10;
    ~~~~~~~~~~~~~~~~^~~~~~~~
/in/foo.cc:225:16: note: 'ans.BigInt::value' was declared here
  BigInt bi(x), ans(1);
                ^~~
/in/foo.cc:24:13: warning: 'res.BigInt::value' may be used uninitialized in this function [-Wmaybe-uninitialized]
    value[0] = 0;
    ~~~~~~~~~^~~
/in/foo.cc:83:10: note: 'res.BigInt::value' was declared here
   BigInt res(0);
          ^~~
# 状态 耗时 内存占用
#1 Runtime Error 3ms 416.0 KiB

信息

递交者
类型
自测
题目
P1023 OO6-1 高精度整数类的乘法运算
语言
C++
递交时间
2024-05-02 10:20:09
评测时间
2024-05-02 10:20:09
评测机
分数
0
总耗时
3ms
峰值内存
416.0 KiB