1011 A+B 和 C (15 point(s))


ipt1 = int(input())
for i in range(ipt1):
    ipt2 = input().split(" ")
    if int(ipt2[0])+int(ipt2[1])>int(ipt2[2]):
        print("Case #%s: true"%(i+1))
    else:
        print("Case #%s: false"%(i+1))
 

这个简单,得到了满分。。。

猜你喜欢

转载自blog.csdn.net/weixin_41775301/article/details/86765239