×

# ACM14AM1-Editorial

Author:
Tester:
Editorialist: Jingbo Shang, Anudeep

Cakewalk

For-loop

# PROBLEM:

Given an array of integers and a number X. You need to tell how many of those integers are greater than or equal to X.

# EXPLANATION:

You may follow the following steps:

1. Load the integers and store them in an array
3. Loop over the array, compare each element with X.
4. Maintain a counter to record the total number.

# AUTHOR'S AND TESTER'S SOLUTIONS:

The links will be fixed soon.

Author's solution can be found here.
Tester's solution can be found here.

161446376
accept rate: 0%

19.8k350498541

 0 Why is the input in descending order? answered 18 Feb, 17:22 9●1 accept rate: 0%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×15,852
×1,112
×15

question asked: 10 Nov '14, 10:46

question was seen: 4,046 times

last updated: 18 Feb, 17:22