report VI VI EN
Register | Login
  • HOME
  • PROBLEMSET
  • ROADMAP
  • COMPETITION
  • TOPIC
  • RANKING
  • GUIDE
  • MASHUP
  • ABOUT
  • CONTACT
  • Problem
  • Submit
  • Results
Smallest value - MarisaOJ: Marisa Online Judge

Smallest value

Time limit: 1000 ms
Memory limit: 256 MB
Given an array $A$ with $n$ integer elements, find the minimum value in the array. ### Input - The first line contains an integer $n$. - The second line contains $n$ integers $A_i$. ### Output - Print the minimum value in the array. ### Constraints - $1 \le n \le 1000$. - $1 \le A_i \le 1000$. ### Sample Input: ``` 5 1 2 1 5 3 ``` Output: ``` 1 ```
Array
Even elements
Smallest value
Average
Array reversal
Negative and positive
Consecutive differences
Largest value
Positive and negative
Dominant element
Second largest
Maximum product
Array rotation
Palindrome array
Circle
Insert
Positive subarray
Sorting
Similar Arrays
Unique
Unique 2
Frequent value
Most Frequent Value
Bitonic sequence
Swap
Topic
Basic
Rating 800
Solution (0) Solution