#include <iostream>
#include <vector>
void foo(const std::vector<std::vector<int>> &v_v)
{
std::cout << "foo vector vector\n";
}
void foo(const std::vector<int> &v)
{
std::cout << "foo vector\n";
}
// void foo(const std::vector<std::vector<int>> &v_v)
// {
// std::cout << "foo vector vector\n";
// }
int main() {
std::vector<int> v = {0, 1, 2};
std::vector<int> v2 = {v};
std::vector<std::vector<int>> v_v = {v};
foo({v});
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgoKdm9pZCBmb28oY29uc3Qgc3RkOjp2ZWN0b3I8c3RkOjp2ZWN0b3I8aW50Pj4gJnZfdikKewoJc3RkOjpjb3V0IDw8ICJmb28gdmVjdG9yIHZlY3RvclxuIjsKfQoKdm9pZCBmb28oY29uc3Qgc3RkOjp2ZWN0b3I8aW50PiAmdikKewoJc3RkOjpjb3V0IDw8ICJmb28gdmVjdG9yXG4iOwp9CgovLyB2b2lkIGZvbyhjb25zdCBzdGQ6OnZlY3RvcjxzdGQ6OnZlY3RvcjxpbnQ+PiAmdl92KQovLyB7Ci8vIAlzdGQ6OmNvdXQgPDwgImZvbyB2ZWN0b3IgdmVjdG9yXG4iOwovLyB9CgppbnQgbWFpbigpIHsKCXN0ZDo6dmVjdG9yPGludD4gdiA9IHswLCAxLCAyfTsKCXN0ZDo6dmVjdG9yPGludD4gdjIgPSB7dn07CglzdGQ6OnZlY3RvcjxzdGQ6OnZlY3RvcjxpbnQ+PiB2X3YgPSB7dn07Cglmb28oe3Z9KTsKCXJldHVybiAwOwp9