프로그래밍_일반/백준
boj 2965
Spadework
2020. 2. 4. 10:09
* Solved 기준 브론즈3 단순 풀이
a,b,c = map(int, input().split())
print(max(b-a-1, c-b-1))