记录详情

Compile Error

/in/foo.cc: In member function 'str str::operator+(const str&) const':
/in/foo.cc:32:40: error: 'memset' was not declared in this scope
            memset(c.num,0,sizeof(c.num));
                                        ^
/in/foo.cc:37:70: error: 'memcpy' was not declared in this scope
               memcpy(&c.num[j+1],&a.num[j+1],(a.num[0]-j)*sizeof(int));
                                                                      ^
/in/foo.cc:40:70: error: 'memcpy' was not declared in this scope
               memcpy(&c.num[j+1],&b.num[j+1],(b.num[0]-j)*sizeof(int));
                                                                      ^
/in/foo.cc: In member function 'str str::operator*(const int&) const':
/in/foo.cc:57:40: error: 'memset' was not declared in this scope
            memset(c.num,0,sizeof(c.num));
                                        ^

信息

递交者
类型
递交
题目
P1013 消息传播
语言
C++
递交时间
2019-11-03 10:19:55
评测时间
2019-11-03 10:19:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes