Unable to understand the input given

my code start from the main function. so do have to take input using cin function or input will be given automatically

Just input n in main like int n;cin>>n;