In Oxfordonlineenglish.com, I found a question in grammar test online as follows,
______ spent time abroad when I was a student, I found it easier to get used to ______ in another country.
Options:
to have, living
having, live
having, living
have, live
And my answer was,
Having spent time abroad when I was a student, I found it easier to get used to live in another country.
But the correct answer given by the website was,
Having spent time abroad when I was a student, I found it easier to get used to living in another country.
I'm a little confused here, why "living" is correct and why not "live".