#include <iostream>
#include <vector>
using namespace std;
void func(std::vector<int> &b){
for (auto i : b)
std::cout<<i<<"\n";}
void func1(std::vector<int> *b){
for (auto i : *b)
std::cout<<i<<"\n";}
int main() {
std::vector<int> a;
a.push_back(1);
a.push_back(1);
func(a);
std::vector<int> *c=&a;
func1(c);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBmdW5jKHN0ZDo6dmVjdG9yPGludD4gJmIpewpmb3IgKGF1dG8gaSA6IGIpCnN0ZDo6Y291dDw8aTw8IlxuIjt9Cgp2b2lkIGZ1bmMxKHN0ZDo6dmVjdG9yPGludD4gKmIpewpmb3IgKGF1dG8gaSA6ICpiKQpzdGQ6OmNvdXQ8PGk8PCJcbiI7fQoKaW50IG1haW4oKSB7CnN0ZDo6dmVjdG9yPGludD4gYTsKYS5wdXNoX2JhY2soMSk7CmEucHVzaF9iYWNrKDEpOwoKZnVuYyhhKTsKc3RkOjp2ZWN0b3I8aW50PiAqYz0mYTsKZnVuYzEoYyk7Cn0=