func_code_string: #include <bits/stdc++.h>   using namespace std;   int r1, r2;   int c1, c2;   int b, e, k;   int main() {     ios_base::sync_with_stdio(0);     b = e = k = 0;     cin >> r1 >> c1;     cin >> r2 >> c2;     if (r1 > r2) {       swap(r1, r2);       swap(c1, c2);     }     b = (r1 == r2 || c1 == c2) ? 1 : 2;     e = ((((r1 & 1) == (c1 & 1)) && ((r2 & 1) == (c2 & 1))) ||          (((r1 & 1) != (c1 & 1)) && ((r2 & 1) != (c2 & 1))))             ? 2             : 0;     e = (abs(r1 - r2) == abs(c1 - c2) && e != 0) ? 1 : e;     k = min(abs(r1 - r2), abs(c1 - c2)) + max(abs(r1 - r2), abs(c1 - c2)) -         min(abs(r1 - r2), abs(c1 - c2));     cout << b <<     << e <<     << k << endl;     return 0;   }   