Problem 61161. [Mảng 1 Chiều Cơ Bản]. Bài 3. Số nhỏ nhất

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

83.33% Correct | 16.67% Incorrect
Last Solution submitted on Jan 21, 2026

Solution Comments

Show comments

Problem Recent Solvers10

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

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

Start Hunting!