diff --git a/AcWing/737/737.cpp b/AcWing/737/737.cpp new file mode 100644 index 00000000..044ec1c5 --- /dev/null +++ b/AcWing/737/737.cpp @@ -0,0 +1,14 @@ +#include + +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; +}