https://www.luogu.com.cn/record/92554827
#include<iostream> using namespace std; int a; int main() { while(cin >> a == 1) { if(a != 45) { cout << a; } else { return 0; } } return 0; }