0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 03:31:59 +00:00

P6426 [COCI2008-2009#1] SKOCIMIS

R39810921
This commit is contained in:
Baoshuo Ren 2020-10-14 21:00:13 +08:00 committed by Baoshuo Ren
parent 6450b75866
commit d0767107a7
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

10
problem/P6426/P6426.cpp Normal file
View File

@ -0,0 +1,10 @@
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << max(b - a, c - b) - 1 << endl;
return 0;
}