triangle with angle codechef solution