보안을 그리다, 훈이

[Baekjoon/Python3] 13866번 팀 나누기 본문

Programming/Python & Data Structures

[Baekjoon/Python3] 13866번 팀 나누기

HooNeee 2020. 12. 7. 01:13

[Baekjoon/Python3] 13866번 팀 나누기

 

www.acmicpc.net/problem/13866

 

13866번: 팀 나누기

입력은 네 개의 정수 A, B, C 및 D가 포함된 한 줄로 구성되며 4명의 스킬 레벨이 주어진다. (0 ≤ A ≤ B ≤ C ≤ D ≤ 104)

www.acmicpc.net

 

a, b, c, d = map(int, input().split())
print(abs((a + d) - (b + c)))
Comments