#include<cstring> ①memset(f,0,sizeof f); 作用:将数组f中全部值化为0 ②memcpy(backup,f,sizeof f); 作用:将f中全部值赋值给backup,相当于备份数组