본문 바로가기

코딩테스트/BOJ

[백준/파이썬] 2914번: 저작권 (Python)

문제

백준 2914번: 저작권

풀이

a, i = map(int,input().split())
print((a*(i-1))+1)

 

 

출처

www.acmicpc.net/problem/2914