func_code_string: #include <bits/stdc++.h>   using namespace std;   const double pi = acos(-1.0);   const int mod = 1000000007;   const int inf = 0x3f3f3f3f;   const int maxn = 200005;   void task() {     int r1, c1, r2, c2;     cin >> r1 >> c1 >> r2 >> c2;     int Rook = 0, Bishop = 0, King = 0;     if (r1 == r2 or c1 == c2)       Rook = 1;     else       Rook = 2;     if ((r1 + c1) == (r2 + c2) or (r2 - r1) == (c2 - c1))       Bishop = 1;     else if ((r1 + c1) % 2 == (r2 + c2) % 2)       Bishop = 2;     else       Bishop = 0;     King = max(abs(r1 - r2), abs(c1 - c2));     cout << Rook <<     << Bishop <<     << King <<   n ;   }   int main() {     ios::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     int T = 1;     while (T--) {       task();     }     return 0;   }   