Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <vector>
- #include <queue>
- using namespace std;
- int main()
- {
- int n;
- cin >> n;
- vector<int> v;
- for(int i = 0; i < n; i++) {
- int a;
- cin >> a;
- v.push_back(a);
- }
- v.erase(v.begin() + 4);
- for(int i = 0; i < v.size(); i++) {
- cout << v[i] << " ";
- }
- return 0;
- }
- /*
- 7 5
- 2 4
- -3 3
- 7 10
- 1 8
- 6 7
- 6 7
- -1 6
- 2 4
- -3 3
- **/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement