警钟撅烂

P8306 【模板】字典树

HZHDCM @ 2024-06-17 19:55:27

请不要使用memset,否则会T


by Chizuru_Ichinose @ 2024-06-17 20:09:19

感谢大佬!!!


by Kotobuki_Tsumugi @ 2024-06-17 20:10:53

事实上,memset 在处理一维数组是还是比较高效的,但到了二维数组就……


by Chizuru_Ichinose @ 2024-06-17 20:12:15

@Kotobuki_Tsumugi 感谢大佬科普!!!


by learningi @ 2024-06-17 20:14:18

谢谢大佬,长见识了


by Februrary @ 2024-07-09 13:07:12

@HZHDCM 这道题应该不是卡memset(),而是当你对数组清0时应该指定范围而不是全部清零


by Ascnbeta @ 2024-07-21 11:15:55

@HZHDCM 谢谢大佬


|