C++ simple 4 line 0ms solution
\nclass Solution {\npublic:\n    vector<int> numMovesStones(int a, int b, int c) {\n        int lo{min(a, min(b,c))}, hi{max(a, max(b, c))}, mid{a^b^c^lo^hi};\n
```\nclass Solution {\npublic:\n    vector<int> numMovesStones(int a, int b, int c) {\n        int lo{min(a, min(b,c))}, hi{max(a, max(b, c))}, mid{a^b^c^lo^hi};\n        int min_ = lo+1 == mid && mid+1 == hi ? 0 : mid-lo <= 2 || hi-mid <= 2 ? 1 : 2;\n        int max_ = mid-lo-1 + hi-mid-1;\n        return {min_, max_};\n    }\n};\n```
[]