double distance1=Math.sqrt((p1.x-0)*(p1.x-0)+(p1.y-0)*(p1.y-0)); double distance2=Math.sqrt((p2.x-0)*(p2.x-0)+(p2.y-0)*(p2.y-0)); double distance3=Math.sqrt((p3.x-0 ...
Introductory problem used to familiarise with the judge's I/O format. Given a list of numbers, count the even numbers and compute their sum. Sort a stack of pancakes using only flip operations ...