[Python] 백준 10926번 18108번 10430번 2588번
업데이트:
백준 10926번
name = str(input())
print(name+"??!")
백준 18108번
year = int(input())
print(year-int(543))
백준 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)
백준 2588번
A = int(input())
B = input()
print(A*int(B[2]))
print(A*int(B[1]))
print(A*int(B[0]))
print(A*int(B))
댓글남기기