POWPOW 2 giving tle

Why is my program giving TLE

program

Please help