CCC 2019 J1 - Winning Score Solution
← Back to Forum

CCC 2019 J1 - Winning Score Solution

#Morgan Su, BayviewSS
#If statements, operators and variables
a=int(input())
b=int(input())
c=int(input())
d=int(input())
e=int(input())
f=int(input())

m=int(a*3)
n=int(b*2)
apple=m+n+c

v=int(d*3)
x=int(e*2)
banana=v+x+f

if banana==apple:
    print('T')
elif banana>apple:
    print('B')
elif apple>banana:
    print('A')
By msu7 on 7/17/2025
0

Comments

Hey! Sorry for not seeing this earlier, but the solution has now been added to the repo. Another FYI, but we are planning on possibly adding an editorial feature for users, so it will become possible to add more detail to solutions later on. Also, as management is changing, it may take a while for future solutions to be updated. However, we will get to every one of them, rest assured.

By tankman613 on 7/27/2025