801
a = int(input())
if a < 0:
print(a)
print("minus")
else:
print(a)
802
a = int(input())
b = int(input())
c = b + 100 - a
if c > 0:
print(c)
print("Obesity")
else:
print(c)
803
a = int(input())
if a>=20:
print("An adult.")
else:
print(20-a,"years")
804
a = float(input())
if a<=50.80:
print("Flyweight")
elif a <=61.23:
print("Lightweight")
elif a<=72.57:
print("Middleweight")
elif a<=88.45:
print("Cruiserweight")
else:
print("Heavyweight")
805
a = float(input())
b = float(input())
if a>=4.0 and b>=4.0:
print("A")
elif a>=3.0 and b>= 3.0:
print("B")
else:
print("C")
806 ๋ชจ๋ฅด๊ฒ ์!!!ใ ใ
์ ๋ ฅ๋ง ๋ฐ๊ณ ์ถ๋ ฅ์ด ์๋จ
st1 = input()
st2 = input()
st1,st2=st.split()
if st1 == "M":
if int(st2) >= 18:
print("MAN")
else:
print("BOY")
elif st1 == "F":
if int(st2) >=18:
print("WOMAN")
else:
print("GIRL")
์ด๋ ๊ฒ ํด๊ฒฐํจ
st1,st2 = input().split()
li1 = 0
li1 = [str(st1),int(st2)]
if li1[0] == "M":
if li1[1]>=18:
print("MAN")
elif li1[1]<18:
print("BOY")
if li1[0] == "F":
if li1[1]>=18:
print("WOMAN")
elif li1[1]<18:
print("GIRL")
807
a = input()
if a == "A":
print("Excellent")
elif a == "B":
print("Good")
elif a == "C":
print("Usually")
elif a == "D":
print("Effort")
elif a == "F":
print("Failure")
else:
print("Mistake")
808
a = float(input())
if a>=4.0:
print("scholarship")
elif a>=3.0:
print("next semester")
elif a>=2.0:
print("seasonal semester")
else:
print("retake")
809
st1,st2,st3 = input().split()
li1 = 0
li1 = [int(st1),int(st2),int(st3)]
print(min(li1))
'Problem Solving > JUNGOL' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
๋ฆฌ์คํธ1 (0) | 2022.01.14 |
---|---|
๋ฌธ์์ด1 (0) | 2022.01.14 |
747 : ์ฐ์ฐ์ - ์๊ฐ์ง๋จ 6 (0) | 2022.01.13 |
748: ์ฐ์ฐ์ - ์๊ฐ์ง๋จ7 (0) | 2022.01.13 |
745 : ์ฐ์ฐ์ - ์๊ฐ์ง๋จ 4 (0) | 2022.01.13 |
๋๊ธ