webturing 5 سال پیش
والد
کامیت
2b9730f994
1فایلهای تغییر یافته به همراه13 افزوده شده و 0 حذف شده
  1. 13 0
      B.cpp

+ 13 - 0
B.cpp

@@ -0,0 +1,13 @@
+#include<bits/stdc++.h>
+
+using namespace std;
+
+int main() {
+    vector<int> a(10);
+    for (auto &i:a)cin >> i;
+    sort(a.begin(), a.end());
+    for (auto i:a)cout << i << " ";
+    cout << endl;
+    return 0;
+}
+