Advertisement
Ilya_konstantinov

Untitled

Nov 22nd, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | Source Code | 0 0
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. #include "func.h"
  5.  
  6. int main() {
  7.     size_t n; std::cin >> n;
  8.     std::vector<int> v(n);
  9.     for (size_t i = 0; i < n; ++i) {
  10.         std::cin >> v[i];
  11.     }
  12.     print(n);
  13.     std::cout << std::endl;
  14.     print(v);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement