模板:多Case输入处理

利用cin实现

while(cin >> value)

{

}

调试时使用Ctrl + Z 输入文件结束符

原文地址:https://www.cnblogs.com/mobileliker/p/4055107.html