36.1330번
A, B = map(int, input().split())
if A>B:
print(">")
elif A<B:
print("<")
elif A==B:
print("==")

37. 9498번
score = int(input())
if 90 <= score:
print("A")
elif 80 <= score:
print("B")
elif 70 <= score:
print("C")
elif 60 <= score:
print("D")
else:
print("F")

38. 2753번
year = int(input())
if (year%4==0 and year%100!=0) or year%400==0:
print(1)
else:
print(0)

39. 14681번
x = int(input())
y = int(input())
if x>0:
if y>0:
print(1)
elif y<0:
print(4)
elif x<0:
if y>0:
print(2)
elif y<0:
print(3)

40. 2884번
H, M = map(int, input().split())
if M >= 45:
print(H,M-45)
elif H>0 and M<45:
print(H-1,M+15)
else:
print(23,M+15)

41. 10926번
id = input()
print(id+"??!")

42. 18108번
a = int(input())
print(a - 543)

'IT > self-study' 카테고리의 다른 글
[백준] 문자열 (2월 3주차_7문제) (0) | 2024.02.18 |
---|---|
[백준] 1차원 배열 (2월 1주차_7문제) (0) | 2024.02.04 |
[백준] 반복문, 1차원 배열 (1월 4주차_7문제) (0) | 2024.01.28 |
[백준] 조건문, 반복문 (1월 3주차_7문제) (0) | 2024.01.21 |
[백준] 입출력과 사칙연산, 조건문 (1월 2주차_7문제) (1) | 2024.01.14 |