Set 101Question 39

Farhan's Minimum Finder

EasyWritten in CMust finish in 2 seconds

Farhan is auditing inventory counts at a school fair and needs the smallest recorded count.

What your program reads

Line1: N. Line2: N integers.

What your program prints

The minimum value.

Limits

1 ≤ N ≤ 10^5

Example input

4
7 2 9 4

Expected output

2
main.c

Your work is saved in this browser as you type.

Loading editor…
Input for Run

Run tries your code on the input above and shows what it prints. Submit checks your output against every test, including hidden ones.

Shortcut: Ctrl + Enter sends it to the judge.

Farhan's Minimum Finder · DIU ContestHub