#include <iostream> using namespace std; int main() { int n; s: cin>>n; if(cin.fail()) { cin.clear(); cin.ignore(); cout<<"输入有误!"<<endl; goto s; } cout<<n<<endl; }