Problem with Pishty and tree (PSHTTR)..

Please can anyone tell me why I am getting WA .
My Solution