Greater Than X c++ example





Question

Ali's Mom is trying to help him to learn basic math. She bought him N Lego pieces written on it some numbers. She tells him a number X, and he has to figure out how many numbers written on the Lego are strictly greater than X.

Input Format
The first line contains the number of Lego pieces N and integer X.
The next line contains N integers represent the numbers written on the Lego. 3 2
5 3 8
Output Format:
3



Sol...




إرسال تعليق

الرجاء تحديد الوضع المضمّن لإظهار نظام التعليق.*

أحدث أقدم