diff --git a/examples/different/problem_statement/problem.en.tex b/examples/different/problem_statement/problem.en.tex index 60b2dffa..a3e1473b 100644 --- a/examples/different/problem_statement/problem.en.tex +++ b/examples/different/problem_statement/problem.en.tex @@ -1,14 +1,11 @@ \problemname{A Different Problem} -Write a program that computes the difference between non-negative integers. +Write a program that returns the second smallest integer from a group of numbers. \section*{Input} -The input consists of multiple test cases (at least $1$ and at most -$40$), one per line. Each test case consists of a pair of integers, -between $0$ and $10^{15}$ (inclusive). The input is terminated by -end of file. +The first line of input contains one positive integer, N, the number of integers on the list, which will be no more than 20. The following N lines each contain one integer between 1 and 50 \section*{Output} -For each pair of integers in the input, output one line, containing the absolute value of their difference. +Output one line containing the integer value of the second smallest integer in the group of numbers.