|  | 
|  | 
| вернуться в форум | read this if u get wa 1 2 11 1
 
 -> answer = 1 not 2..
 final configuration
 1 2 -> minimum 2....
 i solved it 4 times thinking i was supose to find the minimal height of the stacks that have things added
 
 and one more thing
 test 13
 100 100 99*****
 1 1 1 1 1..........
 ..........
 ...........
 1 1 1 1  1.....
 | 
 | 
|