0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 16:56:27 +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;
}