后来才发现...... 最后实测0msAC0ms AC0msAC..... 183B的代码
#include <bits/stdc++.h> using namespace std; int n; int main() { while(scanf("%d",&n) !=EOF) { if(n==42)return 0; else printf("%d\n",n); } return 0; }