문제풀이/BAEKJOON
백준 18108번 [1998년생인 내가 태국에서는 2541년생?!] - C++
은로그래머
2024. 1. 26. 00:03
#include <stdio.h>
int main() {
int year; // 불기연도
scanf("%d", &year);
int result = year - 543; // 서기연도
printf("%d", result);
return 0;
}