蒟蒻求助
code
#include<iostream> using namespace std; long long x; int main(){ while( cin>>x && x!=42 ) cout<<x<<endl; return 0; }