记录详情

Accepted

foo.cc: In function 'void mcl1(std::string, std::string)':
foo.cc:12:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
   12 |         memset(a,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
foo.cc:13:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
   13 |         memset(b,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
foo.cc:14:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
   14 |         memset(c,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
foo.cc: In function 'void mcl2(std::string, std::string)':
foo.cc:64:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
   64 |         memset(a,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
foo.cc:65:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
   65 |         memset(b,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
foo.cc:66:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
   66 |         memset(c,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
foo.cc: In function 'std::string mcl(std::string, std::string)':
foo.cc:116:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
  116 |         memset(a,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
foo.cc:117:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
  117 |         memset(b,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
foo.cc:118:15: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
  118 |         memset(c,0,100005);
      |         ~~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 668.0 KiB
#2 Accepted 8ms 668.0 KiB
#3 Accepted 7ms 668.0 KiB
#4 Accepted 9ms 668.0 KiB
#5 Accepted 7ms 596.0 KiB

信息

递交者
类型
递交
题目
A11-4 高精度整数之间的乘法
比赛
2023 程序设计与竞赛(作业7:最初的综合)
语言
C++
递交时间
2023-11-11 09:11:53
评测时间
2023-11-11 09:11:53
评测机
分数
100
总耗时
37ms
峰值内存
668.0 KiB