func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int a[5] = {}, x, y = 0;     cin >> a[0] >> a[1] >> a[2];     for (int d = 0; d < 3; d++) {       for (int c = 0; c < 3; c++) {         if (a[d] > a[c]) swap(a[d], a[c]);       }     }     x = a[1];     if (a[0] > x) y += a[0] - x;     if (a[0] < x) y += x - a[0];     if (a[2] > x) y += a[2] - x;     if (a[2] < x) y += x - a[2];     cout << y;     return 0;   }   