Cho mảng số nguyên A[] gồm N phần tử, hãy đếm xem trong mảng của bạn có bao nhiêu số có cùng giá trị nhỏ nhất. Ví dụ mảng A = {1, 2, 1, 3, 5} thì số nhỏ nhất trong mảng là 1 xuất hiện 2 lần.
Đầu vào
Vector hàng gồm N số nguyên
Giới hạn
1<=N<=1000
-10^3<=A[i]<=10^3
Đầu ra
In ra đáp án của bài toán
Ví dụ :
Nums = [28 28 28 30]
Output = 3

Solution Stats

20 Solutions

17 Solvers

Last Solution submitted on Mar 03, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers17

Suggested Problems

More from this Author18

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!