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

9. 10430번
A, B, C = map(int, input().split())
print((A+B)%C)
print(((A%C)+(B%C))%C)
print((A*B)%C)
print(((A%C)*(B%C))%C)

10. 2588번
a = int(input())
b = int(input())
print(a*(b%10))
print(a*((b%100)//10))
print(a*(b//100))
print(a*b)

11. 10171번
print("\\ /\\")
print(" ) ( ')")
print("( / )")
print(" \\(__)|")

12. 10172번
#|\_/|
#|q p| /}
#( 0 )"""\
#|"^"` |
#||_/=\\__|
print("|\\_/|")
print("|q p| /}")
print('( 0 )"""\\')
print('|"^"` |')
print("||_/=\\\\__|")

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

14. 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")

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