记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:9:44: warning: unused variable 'l' [-Wunused-variable]
    9 |  int x1[100000]={0},x2[100000]={0},j=1,k=1,l=1;
      |                                            ^
foo.cc: In function 'int Mull(int*, int*, int, int)':
foo.cc:60:16: error: 'sum' was not declared in this scope
   60 |         memset(sum, 0, sizeof(sum));
      |                ^~~
foo.cc:60:9: error: 'memset' was not declared in this scope
   60 |         memset(sum, 0, sizeof(sum));
      |         ^~~~~~
foo.cc:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    2 | #include <iostream>
  +++ |+#include <cstring>
    3 | using namespace std;
foo.cc:84:5: warning: no return statement in function returning non-void [-Wreturn-type]
   84 |     }
      |     ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A11-4 高精度整数之间的乘法
比赛
2021(四) 作业第四场:加速赛
语言
C++
递交时间
2021-12-09 16:29:26
评测时间
2021-12-09 16:29:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes