1
2
3
4
5
6
7
|
import sys
while True:
try:
a,b,c=map(int,sys.stdin.readline().split())
print( max( b-a , c-b)-1)
except Exception as e:
exit()
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 11134 (0) | 2020.12.29 |
---|---|
[백준] 11109 (0) | 2020.12.29 |
[백준] 11024 (0) | 2020.12.29 |
[백준] 11023 (0) | 2020.12.29 |
[백준] 11006 (0) | 2020.12.28 |
댓글