这道题是搞笑的!!! AC代码: C++复制#include <iostream> using namespace std; int main(){ int a; while(cin>>a){ if(a==42)return 0; else cout<<a<<endl; } return 0; }