First subtask seems wrong for kth numbers. My code gives WA if i exit before reading n for 10th testcase and gives SIGABRT if i read n for 10th case?
First subtask seems wrong for kth numbers. My code gives WA if i exit before reading n for 10th testcase and gives SIGABRT if i read n for 10th case?