华为机试:将字符串里第一次出现的字符输出,重复出现的不显示

可能会出现的错误: memset was not declared in this scope. strlen也会出现相同的问题, 是因为没有加 #include <string.h> using namespace   std 结果如下:
相关文章
相关标签/搜索