[c++] beats 100%
Code

# Code
```cpp []
class Solution {
public:
    vector<int> numMovesStones(int a, int b, int c) {
        if (b < c && b < a){
            int temp = a;
            a = b;
            b = temp;
        }
        else if (c < a && c < b){
            int temp = a;
            a = c;
            c = temp;
        }

        if (c < b){
            int temp = c;
            c = b;
            b = temp;
        }

        int mn = 2, mx = c - a - 2;
        if (b == a + 1 && c == b + 1) return {0, 0};
        if (b == a + 2) return {1, c - a - 2};
        if (c == b + 2) return {1, b - a};
        if (b == a + 1) return {1, c - b - 1};
        if (c == b + 1) return {1, b - a - 1};
        
        return {mn, mx};
    }
};
```
['C++']