damnit111@tg says to YSITD
getline 的話就是 while(getline(cin, k, sepeator))