prog.cpp:1:16: error: ‘vector’ was not declared in this scope
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^~~~~~
prog.cpp:1:23: error: ‘string’ was not declared in this scope
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^~~~~~
prog.cpp:1:23: note: suggested alternative: ‘struct’
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^~~~~~
struct
prog.cpp:1:30: error: ‘name’ was not declared in this scope
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^~~~
prog.cpp:1:36: error: ‘vector’ was not declared in this scope
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^~~~~~
prog.cpp:1:43: error: expected primary-expression before ‘int’
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^~~
prog.cpp:1:55: error: ‘vector’ was not declared in this scope
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^~~~~~
prog.cpp:1:62: error: expected primary-expression before ‘int’
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^~~
prog.cpp:1:71: error: expression list treated as compound expression in initializer [-fpermissive]
int duplicates(vector<string>name, vector<int>weight, vector<int>price){
^