解决方式: 删掉using namespace std,保存。再写回using namespace std。 不行就再删掉#include<iostream>,再写回来。 出现原因:我不到啊,哪位大佬能解释一下(= =)。