Run time error in first two test case

pls help me to find out the errors
link:-https://ide.codingblocks.com/s/296369