Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

행복한 개구리

(Python/C#/C++) 백준 18108번 - 1998년생인 내가 태국에서는 2541년생?! 본문

Algorithm/BaekJoon

(Python/C#/C++) 백준 18108번 - 1998년생인 내가 태국에서는 2541년생?!

HappyFrog 2022. 7. 11. 14:00


 

 

 

 

 

 


 

 

 

Python


year = int(input())

print(year - 543)

 

 

 

C#


int year = int.Parse(Console.ReadLine());

Console.Write(year - 543);

 

 

 

C++


#include <iostream>

using namespace std;

int main() {
	int year;
	cin >> year;
	cout << year - 543;	
}