two test case is not getting accepted .
Painter problem
u are taking the i/p in wrong order
n >> k >> t;
is the correct order
and also in the
isPossible function initiliase the painter to be 1 initially since atleast 1 painter is required to get the work to start