Easy20 pts
Angry Professor
Cancel if strictly fewer than k students arrive on time (<=0). Output YES/NO.
Input
t; each: n k, then n arrival times.
Output
YES or NO per test.
Sample
2 4 3 -1 -3 4 2 4 2 0 -1 2 1
Expected
YES NO
Loading editor…
Output
No output yet. Run your code to see results.