练59.1 第n大的数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
Define a function to find the -th number in the sequence {, , , , , , , , , }, and use it to output the -th largest number.
Input Format
A single line containing an integer . If is invalid, re-enter the input.
Output Format
A single line containing an integer, representing the -th largest number in the sequence.
Sample
2
99
-1
2
99
20251018D班作业(3)
- Status
- Done
- Problem
- 3
- Open Since
- 2025-10-23 0:00
- Deadline
- 2025-10-30 23:59
- Extension
- 24 hour(s)