c++ 中的 fill 函数是一个算法,用于将容器中的所有元素填充为指定的值。语法:void fill(inputiterator first, inputiterator last, const t& value);它从 first 输入迭代器开始遍历容器,一直遍历到 last 迭代器(不