记录详情

Compile Error

/in/foo.cc: In constructor 'BigInt::BigInt(int)':
/in/foo.cc:33:34: error: 'floor' was not declared in this scope
    nInteger = floor(nInteger / 10);
                                  ^
/in/foo.cc: In constructor 'BigInt::BigInt(char*)':
/in/foo.cc:67:33: error: 'strlen' was not declared in this scope
   int nLength = strlen(strBigInt);
                                 ^
/in/foo.cc: In member function 'BigInt BigInt::IntegerToBigInt(int)':
/in/foo.cc:335:34: error: 'floor' was not declared in this scope
    nInteger = floor(nInteger / 10);
                                  ^
/in/foo.cc: In static member function 'static BigInt BigInt::StringToBigInt(char*)':
/in/foo.cc:403:33: error: 'strlen' was not declared in this scope
   int nLength = strlen(strBigInt);
                                 ^

信息

递交者
类型
递交
题目
P1025 OO6-3 高精度整数集合类的插入排序
语言
C++
递交时间
2023-10-14 05:13:04
评测时间
2023-10-14 05:13:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes