input/code.cpp: In function 'int main()':
input/code.cpp:10:25: error: request for member 'size' in 'leima', which is of non-class type 'int'
paikat.push_back(leima.size()-tavoite.size()+1);
^~~~
input/code.cpp:10:40: error: request for member 'size' in 'tavoite', which is of non-class type 'int'
paikat.push_back(leima.size()-tavoite.size()+1);
^~~~
input/code.cpp:11:24: error: request for member 'size' in 'tavoite', which is of non-class type 'int'
for(int i=0;i<tavoite.size();i++){
^~~~
input/code.cpp:12:23: error: request for member 'size' in 'leima', which is of non-class type 'int'
for(int j=0;j<leima.size();j++){
^~~~
input/code.cpp:14:3: error: expected primary-expression before '}' token
}
^
input/code.cpp:14:3: error: expected ')' before '}' token
input/code.cpp:14:3: error: expected primary-expression before '}' token