Angry Professor - HackerRank.
A Discrete Mathematics professor has a class of students. Frustrated with their lack of discipline, he decides to cancel class if fewer than some number of students are present when class starts. Arrival times go from on time ( ) to arrived late ( ). Given the arrival time of each student and a threshhold number of attendees, determine if the class is canceled. Input Format The first line of input contains , the number of test cases.