记录详情

Compile Error

/in/foo.cc: In constructor 'BigNumber::BigNumber()':
/in/foo.cc:13:23: error: 'memset' was not declared in this scope
   memset(N, 0, MAX_LEN);
                       ^
/in/foo.cc: In constructor 'BigNumber::BigNumber(int)':
/in/foo.cc:18:23: error: 'memset' was not declared in this scope
   memset(N, 0, MAX_LEN);
                       ^
/in/foo.cc: In copy constructor 'BigNumber::BigNumber(const BigNumber&)':
/in/foo.cc:27:25: error: 'memcpy' was not declared in this scope
   memcpy(N, n.N, MAX_LEN);
                         ^
/in/foo.cc: In member function 'void BigNumber::clear()':
/in/foo.cc:34:23: error: 'memset' was not declared in this scope
   memset(N, 0, MAX_LEN);
                       ^
/in/foo.cc: In member function 'void BigNumber::mul10(int)':
/in/foo.cc:38:22: error: 'memmove' was not declared in this scope
   memmove(N + n, N, n);
                      ^
/in/foo.cc: In member function 'BigNumber& BigNumber::operator+=(const BigNumber&)':
/in/foo.cc:61:27: error: '__max' was not declared in this scope
   int L = __max(len, o.len);
                           ^

信息

递交者
类型
递交
题目
P1034 A11-1 高精度整数与常规整数的乘法
语言
C++
递交时间
2024-03-26 10:06:41
评测时间
2024-03-26 10:06:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes