0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 19:36:28 +00:00
OI-codes/AcWing/737/737.cpp

15 lines
210 B
C++

#include <bits/stdc++.h>
using namespace std;
int x;
int main() {
for (int i = 0; i < 10; i++) {
cin >> x;
cout << "X[" << i << "] = " << (x <= 0 ? 1 : x) << endl;
}
return 0;
}