Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma GCC optimize("O3")
- #include <bits/stdc++.h>
- using namespace std;
- #define int long long
- #define double long double
- #define endl '\n'
- #define fastio ios_base::sync_with_stdio(0); cin.tie(0)
- signed main()
- {
- fastio;
- int n;
- cin >> n;
- int a[n + 5];
- for(int i = 0; i < n; i++){
- cin >> a[i];
- }
- // a[i] --> a massivinin i - ci indexdeki element
- /*
- reverse(a , a + n); // tersine
- sort(a , a + n); // siralamaq balacan boyuye
- */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement