TIL/Algorithm
2023. 5. 16.
[백준] 코딩연습
2588. 곱셈 import math a = input() b = input() sum = 0 for index, i in enumerate(b[::-1]): sum += math.pow(10, index) * (int(a) * int(i)) print(int(a) * int(i)) print(int(sum)) 3046. R2 a, b = input().split() print(2*int(b) - int(a)) 2163. 초콜릿 자르기 a, b = input().split() print((int(a)*int(b))-1) 11021. A+B -7 n = input() answer = [] for i in range(int(n)): a, b = input().split() answer.append(int(a..