0_0_19550564_11161.cpp: In function 'int main()': 0_0_19550564_11161.cpp:37:13: error: 'vec' was not declared in this scope vec[x].push_back(i); ^