Problems
Queue
Competitions
Ranking
Articles
Signup
Signin
bolt
Try our new interface for solving problems
Try
Problems
160
Statement
Solutions
Statistics
Discussion
160
160
Time limit
1
second
Memory limit
64
MiB
Input example #1
content_copy
7 6 2 7 1 7 1 2
Output example #1
content_copy
10
Difference between maximum and minimum
First the smallest