Skip to content

Commit

Permalink
Update README_EN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Asmitabab committed Aug 25, 2024
1 parent bd68a02 commit d0e464e
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,21 @@ edit_url: https://github.com/doocs/leetcode/edit/main/solution/3200-3299/3264.Fi
#### C++

```cpp

vector<int> getFinalState(vector<int>& nums, int k, int multiplier) {
vector<int> ans=nums;
for(int i=0;i<k;i++){
int ind=0;
int mini=ans[0];
for(int i=1;i<ans.size();i++){
if(ans[i]<ans[ind]){
ind=i;
mini=ans[i];
}
}
ans[ind]*=multiplier;
}
return ans;
}
```
#### Go
Expand Down

0 comments on commit d0e464e

Please sign in to comment.