Super Simple || C++
Code\n\nclass Solution \n{\npublic:\n    vector<int> numMovesStones(int a, int b, int c) \n    {\n        vector<int> v={a,b,c};\n        sort(v.begin(),v.end()
# Code\n```\nclass Solution \n{\npublic:\n    vector<int> numMovesStones(int a, int b, int c) \n    {\n        vector<int> v={a,b,c};\n        sort(v.begin(),v.end());\n        int mn=0, mx=0;\n        if(v[1]-v[0]>1) \n        {\n            mn++;\n            mx+=v[1]-v[0]-1;\n        }\n        if(v[2]-v[1]>1) \n        {\n            mn++;\n            mx+=v[2]-v[1]-1;\n        }\n        if(v[1]-v[0]==2 || v[2]-v[1]==2) mn=1;\n        vector<int> ans={mn,mx};\n        return ans;\n    }\n};\n```
['C++']