0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-03 18:56:26 +00:00
Baoshuo Ren 2021-08-06 18:56:13 +08:00
parent 66d4ab6f2c
commit 8b2a33363e
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

14
AcWing/737/737.cpp Normal file
View File

@ -0,0 +1,14 @@
#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;
}