you give Tetris field consist n column the initial height ith column field a_i block on column place figure size 2 time 1 ie height figure 2 block width figure 1 block Note rotate figuresyour task clear field place figuresmore formally problem describe like thisthe following process occur a_i great 0 you place figure 2 time 1 choose 1 n replace a_i a_i 2 a_i great zero replace a_i a_i 1 and task determine possible clear field ie finish describe process choose place new figure properlyyou answer t independent test case