#include<bits/stdc++.h> using namespace std; int main() { int x,xx,xxx; cin>>x>>xx>>xxx; int result = (max(x,max(xx,xxx))) -( min(x,min(xx,xxx))); cout<<result<<endl; return 0; }
Tuesday, October 4, 2016
CF 723A
Labels:
Codeforces
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for commenting. Please wait for response :)