06 December 2017

UVA 11727 Cost Cutting

test = int(input())
n=1
#data_list = []
while n<=test:
p =0
data_list = [int(x) for x in input().split()]
data_list.sort()
print("Case %d: %d"%(n,data_list[1]))
n += 1

No comments:

Post a Comment

UVA 10679 - I Love Strings!!