求助两个问题:
string 类型的字符串怎么读入?用 scanf 没法读入字符串;用 cin 其他地方都用 scanf 输入,好像两者不能混用;用 getline 是读整行,而不是到空格结束.
string
scanf
cin
getline
bool 类型用 scanf 输入是 %d 吗?
bool
%d