TopCoder

Caido
主唱太拼命了

User's AC Ratio

92.9% (13/14)

Submission's AC Ratio

35.9% (14/39)

Tags

Description

Input Format

Output Format

Sample Input 1

1 3 5 2 7 3 4

Sample Output 1

3

Sample Input 2

3 10 15 2 5 30 5 10 7 8 9 100 5

Sample Output 2

5 10 5

Hints

Problem Source

YTP 2021 高中組程式挑戰營 p2

Subtasks

No. Testdata Range Constraints Score
1 0~1 範例測資 0
2 0~7 無額外限制 10

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 5000 262144 65536 1 2
1 5000 262144 65536 1 2
2 5000 262144 65536 2
3 5000 262144 65536 2
4 5000 262144 65536 2
5 5000 262144 65536 2
6 5000 262144 65536 2
7 5000 262144 65536 2