Run ID:93686

提交时间:2024-10-18 23:07:18

#include <bits/stdc++.h> using namespace std; int main() { int L; cin >> L; int a[L-1]; for(int j = 0;j < L;j++) cin>>a[j]; int g; cin>>g; for(int i = 0;i < L;i++) if(a[i]>100) cout<<g<<' '; else cout<<a[i]<<' '; return 0; }