mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 18:52:02 +00:00
P6426 [COCI2008-2009#1] SKOCIMIS
R39810921
This commit is contained in:
parent
6450b75866
commit
d0767107a7
10
problem/P6426/P6426.cpp
Normal file
10
problem/P6426/P6426.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user