Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
210 B
0
Indexable
Never
#include <iostream>
#include <string>
using namespace std;

int main()
{
    int a,b,c;
	cin >> a >> b >> c;
	
	int max =__max(a, __max(b, c));
	int min = __min(a, __min(b, c));
	cout << max-min ;
}