Advertisement
Korotkodul

A. Произведение тройки

Mar 29th, 2025
465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include <iostream>
  2. #include <sstream>
  3. #include <exception>
  4. #include <cmath>
  5. #include <unordered_set>
  6. #include <vector>
  7. #include <unordered_map>
  8. #include <algorithm>
  9. //#define pii pair <int, int>
  10. using namespace std;
  11.  
  12.  
  13. int main() {
  14.     int n; cin >> n;
  15.     vector <int> a(n);
  16.     for (int&el: a) cin >> el;
  17.     sort(a.begin(), a.end());
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement