记录详情

Accepted

foo.cc: In function 'bool check(long long int)':
foo.cc:67:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct std::pair<long long int, int>' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess]
   67 |         memset(h,0,sizeof(h));
      |         ~~~~~~^~~~~~~~~~~~~~~
In file included from /nix/store/42izybv2fz3ps5pcg3dvcmn85pc9406y-gcc-11.3.0/include/c++/11.3.0/bits/stl_algobase.h:64,
                 from /nix/store/42izybv2fz3ps5pcg3dvcmn85pc9406y-gcc-11.3.0/include/c++/11.3.0/bits/char_traits.h:39,
                 from /nix/store/42izybv2fz3ps5pcg3dvcmn85pc9406y-gcc-11.3.0/include/c++/11.3.0/ios:40,
                 from /nix/store/42izybv2fz3ps5pcg3dvcmn85pc9406y-gcc-11.3.0/include/c++/11.3.0/ostream:38,
                 from iostream:39:
/nix/store/42izybv2fz3ps5pcg3dvcmn85pc9406y-gcc-11.3.0/include/c++/11.3.0/bits/stl_pair.h:211:12: note: 'struct std::pair<long long int, int>' declared here
  211 |     struct pair
      |            ^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 2.25 MiB
#2 Accepted 4ms 2.25 MiB
#3 Accepted 4ms 2.25 MiB
#4 Accepted 6ms 2.5 MiB
#5 Accepted 12ms 2.5 MiB
#6 Accepted 12ms 4.5 MiB
#7 Accepted 12ms 3.625 MiB
#8 Accepted 52ms 9.867 MiB
#9 Accepted 546ms 15.617 MiB
#10 Accepted 3ms 2.25 MiB

信息

递交者
类型
递交
题目
P1123 疫情控制
语言
C++
递交时间
2022-08-12 21:32:59
评测时间
2022-08-12 21:32:59
评测机
分数
100
总耗时
659ms
峰值内存
15.617 MiB