CCC 2021 J1 - Boiling Water Solution
← Back to Forum

CCC 2021 J1 - Boiling Water Solution

#Morgan Su, BayviewSS
#Calculations and comparing integers
T=int(input())
P=5*T-400

if T<100:
    print(P)
    print(1)
if T==100:
    print(P)
    print(0)
if T>100:
    print(P)
    print(-1)
By msu7 on 7/14/2025
0

Comments