#include <bits/stdc++.h> using namespace std; int n; int main(){ while(true){ cin >> n; if(n == 42) return 0; printf("%d\n",n); } return 0; }
完全没有问题的代码,甚至本地出了几组数据也是没有问题的,这么简单的题我真的不想让他在↓
尝试过的题目
里面呆着啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 ↗