Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <iostream>
- #include <vector>
- using namespace std;
- void wypisz(vector<int> tab)
- {
- for (int i = 0; i < tab.size(); i++)
- {
- cout << tab[i] << " ";
- }
- }
- int main()
- {
- vector<int> liczby = {8,3,1,5,4};
- for (int i = 0; i < 10001; i++)
- {
- liczby.push_back(i);
- }
- wypisz(liczby);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement