0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-18 02:12:05 +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;
}