diff --git a/3190. Find Minimum Operations to Make All Elements Divisible by Three b/3190. Find Minimum Operations to Make All Elements Divisible by Three new file mode 100644 index 0000000..ed7894b --- /dev/null +++ b/3190. Find Minimum Operations to Make All Elements Divisible by Three @@ -0,0 +1,10 @@ +class Solution { +public: + int minimumOperations(vector& nums) { + int operations = 0; + for(int x : nums){ + if(x % 3 != 0) operations++; + } + return operations; + } +};