<<BEAT 100% SOLUTIONS>>
PLEASE UPVOTE MECode
# PLEASE UPVOTE ME

# Code
```cpp []
class Solution {
public:
    int smallestEqual(vector<int>& nums) {
        int a=-1;
        for(int i=0;i<nums.size();i++){
            if(i%10==nums[i]){
                a=i;
                break;
            }
        }
        return a;
    }
};
```
['C++']