백준/Python

[백준][Python]16394 - 홍익대학교

Namani 2024. 7. 13. 23:17

https://www.acmicpc.net/problem/16394


 

print(int(input()) - 1946)

print(int(input()) - 1946)

 

홍익대학교는 1946년에 개교하였다.

특정 년도가 주어졌을 때, 그 해가 개교 몇 주년인지 출력하라.

 

사용자로부터 정수를 입력받고 -1946 을 하면 몆주년인지 구할 수 있습니다.